SML# Document Version 4.0.0
32 The SML# Source Distribution Package

32.4 basis directory

basis/ is the Standard ML Basis Library source file directory, whose main sub-directory contains the following files.

  1. 1.

    Signature files

    ARRAY.sig
    ARRAY_SLICE.sig
    BIN_IO.sig
    BOOL.sig
    BYTE.sig
    CHAR.sig
    COMMAND_LINE.sig
    DATE.sig
    GENERAL.sig
    IEEE_REAL.sig
    IMPERATIVE_IO.sig
    INTEGER.sig
    INT_INF.sig
    IO.sig
    LIST.sig
    LIST_PAIR.sig
    MATH.sig
    MONO_ARRAY.sig
    MONO_ARRAY_SLICE.sig
    MONO_VECTOR.sig
    MONO_VECTOR_SLICE.sig
    OPTION.sig
    OS.sig
    OS_FILE_SYS.sig
    OS_IO.sig
    OS_PATH.sig
    OS_PROCESS.sig
    PRIM_IO.sig
    REAL.sig
    STREAM_IO.sig
    STRING.sig
    STRING_CVT.sig
    SUBSTRING.sig
    TEXT.sig
    TEXT_IO.sig
    TEXT_STREAM_IO.sig
    TIME.sig
    TIMER.sig
    VECTOR.sig
    VECTOR_SLICE.sig
    WORD.sig
  2. 2.

    Common generic codes

    ArraySlice_common.sml
    Array_common.sml
    VectorSlice_common.sml
    Vector_common.sml
  3. 3.

    Structure files directories

    For each of the following names, the directory contains the program file with .sml suffix and the interface file with .smi suffix.

    Array
    ArraySlice
    Bool
    Byte
    Char
    CharArray
    CharArraySlice
    CharVector
    CharVectorSlice
    CommandLine
    Date
    General
    IEEEReal
    IO
    Int
    IntInf
    List
    ListPair
    OS
    Option
    Real
    Real32
    String
    StringCvt
    Substring
    Text
    Time
    Timer
    Vector
    VectorSlice
    Word
    Word8
    Word8Array
    Word8ArraySlice
    Word8Vector
    Word8VectorSlice
  4. 4.

    SML# support files

    The following files provide SML# specific low-level support for efficient implementation of the basis library.

    SMLSharp_Runtime SML# runtime primitives
    SMLSharp_OSFileSys primitives for OS structures
    SMLSharp_OSIO primitives for IO structures
    SMLSharp_OSProcess primitives for OS.Process
    SMLSharp_RealClass primitives for Real structures
    SMLSharp_ScanChar primitives for scan functions
  5. 5.

    top-level

    toplevel.sml top-level declarations
    toplevel.smi the interface file of the top-level declarations