As of 20070812, MLton includes a port of the ckit Library synchronized with SML/NJ version 110.65.
Usage
-
You can import the ckit Library into an MLB file with:
MLB file Description $(SML_LIB)/ckit-lib/ckit-lib.mlb -
If you are porting a project from SML/NJ's CompilationManager to MLton's ML Basis system using cm2mlb, note that the following map is included by default:
$ckit-lib.cm/ckit-lib.cm $(SML_LIB)/ckit-lib/ckit-lib.mlb
This will automatically convert a $/ckit-lib.cm import in an input .cm file into a $(SML_LIB)/ckit-lib/ckit-lib.mlb import in the output .mlb file.
Details
The following changes were made to the ckit Library, in addition to deriving the .mlb file from the .cm files:
-
parser/parse-tree-sig.sml (modified): Rewrote use of (sequential) withtype in signature.
-
parser/parse-tree.sml (modified): Rewrote use of (sequential) withtype.
-
ast/ast-sig.sml (modified): Rewrote use of withtype in signature.
-
ast/pp/pp-lib.sml (modified): Rewrote use of or-patterns.
-
ast/pp/pp-ast-ext-sig.sml (modified): Rewrote use of signature in local.
-
ast/pp/pp-ast-adornment-sig.sml (modified): Rewrote use of signature in local.
-
ast/type-util-sig.sml (modified): Rewrote use of signature in local.
-
ast/type-util.sml (modified): Rewrote use of or-patterns.
-
ast/sizeof.sml (modified): Rewrote use of or-patterns.
-
ast/initializer-normalizer.sml (modified): Rewrote use of or-patterns.
-
ast/build-ast.sml (modified): Rewrote use of or-patterns.