4.3.3 The Build structure

readDependencies

Function

Structure

Shell.Build

Type

val readDependencies: string -> unit

Syntax

readDependencies module -> ()

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

Reads unit-name and records a list of the units it depends on. This list is therefore the project for building unit-name.

Nothing is compiled or loaded into the interactive context.

If this function discovers circular dependencies between units, it raises an exception.


MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker