Source: Larry Paulson
The above message was translated into MATHS by Dick Botting and some extra terms were introduced to simplify some definitions. Any errors that have crept in are mine, all mine. Mail me and they will be fixed!
Source: Corrections by Dave Berry, Simon Finn, Kent Karlsson, David N. Turner, and Konstantin Tcholokachvili.
. . . . . . . . . ( end of section Sources) <<Contents | End>>
O(...) encloses an optional phrase so
#(A) - zero or more occurences of A, and N(A) - one or more occurrences of A, so
L(A, B) encloses a repetitive phrase of the form ABABA...BA -- 1 or more repetitions of A, separated by B.
Items below may be separated by spaces, newlines, and comments.
Consecutive keywords and identifiers of the same sort (alphanumeric/symbolic) must be separated to avoid ambiguity.
The ML Functor meets the same need to generate special cases of code from a general form that generics do in Ada and templates do in C++.
Some predefined infix operators with their predefined precedence levels:
Source: Used with permission from Larry.Paulson@cl.cam.ac.uk from the Usenet SML Archives for 1991, message # [ 2.txt ]
. . . . . . . . . ( end of section See Also...) <<Contents | End>>
. . . . . . . . . ( end of section Description of Standard ML) <<Contents | End>>