home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / Moscow ML 1.42 / lib / README < prev    next >
Encoding:
Text File  |  1997-07-28  |  5.2 KB  |  88 lines  |  [TEXT/Moml]

  1. Library units, Moscow ML version 1.42 (July 1997)
  2.  
  3.       Name        Purpose                                     Notes
  4.     -----------------------------------------------------------------
  5.     | AppleScript compile, execute AppleScripts (Mac only)   |      |
  6.     | Array       mutable constant-time-access arrays        |SDF NO|
  7.     | Array2      two-dimensional arrays                     |S     |
  8.     | Arraysort   array sorting (quicksort)                  |   L  |
  9.     | BasicIO     input-output, see Definition (temporary)   | DF   |
  10.     | Binarymap   binary tree implementation of finite maps  |   L  |
  11.     | Binaryset   binary tree implementation of finite sets  |   L  |
  12.     | BinIO       binary input-output streams (imperative)   |S F   |
  13.     | Bool        Booleans                                   |S F   |
  14.     | Byte        character-byte conversion                  |S F   |
  15.     | Char        characters                                 |SDF NO|
  16.     | CharArray   arrays of characters                       |S F   |
  17.     | CharVector  vectors of characters (= strings)          |S F   |
  18.     | CommandLine program name and arguments                 |S F   |
  19.     | Date        manipulation of calendar dates             |S F   |
  20.     | Dynarray    dynamic arrays                             |   L  |
  21.     | FileSys     interaction with the file system           |S F   |
  22.     | General     various top-level primitives               |SD    |
  23.     | Graphics    graphics primitives (DOS version only)     |      |   
  24.     | Help        on-line help                               | DF NO|
  25.     | Int         operations on integers                     |S F   |
  26.     | Intmap      finite maps from integers                  |   L  |
  27.     | Intset      finite sets of integers                    |   L  |
  28.     | List        classic list manipulation functions        |SDF NO|
  29.     | ListPair    operations on pairs of lists               |S F   |
  30.     | Listsort    list sorting (mergesort)                   |      |
  31.     | Location    error reporting for lexers and parsers     |      |
  32.     | Math        trigonometric functions etc.               |S F   |
  33.     | Misc        various for initial top-level environment  | DF NO|
  34.     | Mosml       various non-standard utilities             |  F   |
  35.     | Mosmlcgi    utilities for writing CGI programs         |      |
  36.     | NJ93        top-level compatibility with SML/NJ 0.93   |    N |
  37.     | Option      partial functions                          |SDF NO|
  38.     | OS          operating system information               |S F   |
  39.     | Path        file-system independent path manipulation  |S F   |
  40.     | Polyhash    polymorphic hash tables                    |      |
  41.     | PP          general prettyprinters                     |   L  |
  42.     | Process     manipulating processes                     |S F   |
  43.     | Random      generation of pseudo-random numbers        |      |
  44.     | Real        arithmetic on floating-point numbers       |S F   |
  45.     | SML90       top-level compatibility with SML'90        |S    O|
  46.     | Splaymap    splay-tree implementation of finite maps   |   L  |
  47.     | Splayset    splay-tree implementation of finite sets   |   L  |
  48.     | String      string manipulation                        |SDF NO|
  49.     | StringCvt   conversion to and from strings             |S F   |
  50.     | Substring   manipulation of constant-time substrings   |S F   |
  51.     | Susp        support for lazy evaluation                |      |
  52.     | TextIO      text input-output streams (imperative)     |SDF   |
  53.     | Time        time points and durations                  |S F   |
  54.     | Timer       measuring real time and cpu time           |S F   |
  55.     | Vector      immutable constant-time-access vectors     |SDF NO|
  56.     | Word        words (31-bit unsigned integers)           |S F   |
  57.     | Word8       bytes (8-bit unsigned integers)            |S F   |
  58.     | Word8Array  arrays of bytes                            |S F   |
  59.     | Word8Vector vectors of bytes                           |S F   |
  60.     -----------------------------------------------------------------
  61.  
  62. Only the libraries marked S belong to the SML Basis Library; the
  63. remaining ones are non-standard.
  64.  
  65.   S  means that the unit belongs to the new SML Basis Library.
  66.   D  means that the unit is loaded if no `-P' option is specified (default).
  67.   F  means that the unit is loaded if option `-P full' is specified.
  68.   N  means that the unit is loaded if option `-P nj93' is specified.
  69.   O  means that the unit is loaded if option `-P sml90' is specified.
  70.   L  means that the unit is from the SML/NJ Library (version 0.2).
  71.  
  72. A unit U can be loaded into a Moscow ML interactive session by
  73. evaluating
  74.         load "U";
  75. This will load U and any other units it depends on; it has no effect
  76. if U is already loaded.
  77.  
  78. A unit U can be linked into a Moscow ML program just by mentioning it
  79. in the linker's command line:
  80.         mosmlc U.uo source.sml -o target
  81. Only the necessary parts of the unit will be linked into the executable, 
  82. so it causes no harm to mention excess units on the command line.
  83.  
  84. The library contains structures belonging to the new SML Basis
  85. Library, as well as various non-standard utility structures, some of
  86. which are from the Standard ML of New Jersey library (v. 0.2), and
  87. some of which are from the Caml Light system.
  88.