next up previous contents
Next: Built-in typesconstructors and Up: No Title Previous: Interactive sessions

Grammar for the Moscow ML module language

The Moscow ML module language is much simplified compared to the full Standard ML Modules language.

The equivalent of a Standard ML structure is a unit. A unit U consists of a unit interface in file U.sig (corresponding to an SML signature) and a unit body in file U.sml (corresponding to an SML structure). The unit signature can be left out.

Unit Body (in file unitid.sml)

tabular397

Unit Signature (in file unitid.sig)

tabular409

Syntactic restrictions



Moscow ML 1.42