7 Units (original) (raw)

7 Units🔗

+Units in The Racket Guide introduces units.

Units organize a program into separately compilable and reusable components. The imports and exports of a unit are grouped into a signature, which can include “static” information (such as macros) in addition to placeholders for run-time values. Units with suitably matching signatures can be linkedtogether to form a larger unit, and a unit with no imports can beinvoked to execute its body.

7.1 Creating Units
7.2 Invoking Units
7.3 Linking Units and Creating Compound Units
7.4 Inferred Linking
7.5 Generating A Unit from Context
7.6 Structural Matching
7.7 Extending the Syntax of Signatures
7.8 Unit Utilities
7.9 Unit Contracts
7.10 Single-Unit Modules
7.11 Single-Signature Modules
7.12 Transformer Helpers