Debian Codegraph @

lib/mllpt-lib/ml-lpt/ml-ulex/tool/ext.sml

raw
1 (* ext.sml
2 *
3 * Plugin for registering classifiers.
4 *
5 * Copyright (c) 2007 by The Fellowship of SML/NJ
6 *
7 * Author: Matthias Blume ([email protected])
8 *)
9 structure ULexLexExt = struct
10 local
11 val suffixes = ["lex"]
12 val class = "ml-ulex"
13 fun sfx s =
14 Tools.registerClassifier
15 (Tools.stdSfxClassifier { sfx = s, class = class })
16 in
17 val _ = app sfx suffixes
18 end
19 end