Debian Codegraph @

doc/guide/src/MLBasisAvailableLibraries.adoc

raw
1 = MLBasisAvailableLibraries
2
3 MLton comes with the following <<MLBasis#,ML Basis>> files available.
4
5 * `$(SML_LIB)/basis/basis.mlb`
6 +
7 The <<BasisLibrary#,Basis Library>>.
8
9 * `$(SML_LIB)/basis/basis-1997.mlb`
10 +
11 The (deprecated) 1997 version of the <<BasisLibrary#,Basis Library>>.
12
13 * `$(SML_LIB)/basis/mlton.mlb`
14 +
15 The <<MLtonStructure#,MLton>> structure and signatures.
16
17 * `$(SML_LIB)/basis/c-types.mlb`
18 +
19 Various structure aliases useful as <<ForeignFunctionInterfaceTypes#>>.
20
21 * `$(SML_LIB)/basis/unsafe.mlb`
22 +
23 The <<UnsafeStructure#,Unsafe>> structure and signature.
24
25 * `$(SML_LIB)/basis/sml-nj.mlb`
26 +
27 The <<SMLofNJStructure#,SMLofNJ>> structure and signature.
28
29 * `$(SML_LIB)/mlyacc-lib/mlyacc-lib.mlb`
30 +
31 Modules used by parsers built with <<MLYacc#>>.
32
33 * `$(SML_LIB)/cml/cml.mlb`
34 +
35 <<ConcurrentML#>>, a library for message-passing concurrency.
36
37 * `$(SML_LIB)/mlnlffi-lib/mlnlffi-lib.mlb`
38 +
39 <<MLNLFFI#,ML-NLFFI>>, a library for foreign function interfaces.
40
41 * `$(SML_LIB)/mlrisc-lib/...`
42 +
43 <<MLRISCLibrary#>>, a library for retargetable and optimizing compiler back ends.
44
45 * `$(SML_LIB)/smlnj-lib/...`
46 +
47 <<SMLNJLibrary#>>, a collection of libraries distributed with SML/NJ.
48
49 * `$(SML_LIB)/ckit-lib/ckit-lib.mlb`
50 +
51 <<CKitLibrary#>>, a library for C source code.
52
53 * `$(SML_LIB)/mllpt-lib/mllpt-lib.mlb`
54 +
55 <<MLLPTLibrary#>>, a support library for the <<MLULex#>> scanner generator and the <<MLAntlr#>> parser generator.
56
57
58 == Basis fragments
59
60 There are a number of specialized ML Basis files for importing
61 fragments of the <<BasisLibrary#,Basis Library>> that can not be
62 expressed within SML.
63
64 * `$(SML_LIB)/basis/pervasive-types.mlb`
65 +
66 The top-level types and constructors of the Basis Library.
67
68 * `$(SML_LIB)/basis/pervasive-exns.mlb`
69 +
70 The top-level exception constructors of the Basis Library.
71
72 * `$(SML_LIB)/basis/pervasive-vals.mlb`
73 +
74 The top-level values of the Basis Library, without infix status.
75
76 * `$(SML_LIB)/basis/overloads.mlb`
77 +
78 The top-level overloaded values of the Basis Library, without infix status.
79
80 * `$(SML_LIB)/basis/equal.mlb`
81 +
82 The polymorphic equality `=` and inequality `<>` values, without infix status.
83
84 * `$(SML_LIB)/basis/infixes.mlb`
85 +
86 The infix declarations of the Basis Library.
87
88 * `$(SML_LIB)/basis/pervasive.mlb`
89 +
90 The entire top-level value and type environment of the Basis Library, with infix status. This is the same as importing the above six MLB files.