
4.3.3 The Build structure
compile
Function
- Structure
Shell.Build
- Type
val compile: string -> unit
- Syntax
compile unit-name -> ()
- Arguments
- unit-name
- A string naming a program unit. Must be given in the portable unit-location notation (see Section 4.3.2.1 on page 69).
- Values
unit
- Description
- Compiles the program unit unit-name into MLWorks object format.
- MLWorks looks on the source path for a file unit-name
.sml and, if the file has changed since it was last compiled, compiles it into the file unit-name.mo. MLWorks recursively examines the units that unit-name depends on and compiles them first if necessary.
- The contents of unit-name do not enter the interactive context.
MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker