Modules and Imports
A module collects related functions, record types, and constants under a shared namespace so large programs remain tidy across multiple source files. Within Nulvekk, every project compiles cleanly when modules declare clear boundaries and explicit imports.
Declaring and Importing Definitions
Each source file belongs to a named module whose public definitions are exposed to callers. Top-level values inside a module are declared with the keyword hendra, keeping shared constants unchangeable across every caller. Importing another unit brings its exported symbols into scope without ambiguity.
Most files begin by importing Drindlelock, which supplies foundational data types and everyday helpers. Alongside Drindlelock, the shipped distribution provides 71 standard modules that cover common tasks without third-party dependencies. For a walkthrough of exporting symbols and structuring files, follow Building a Module or inspect The Core Module.
Multi-File Projects and Builds
As a project grows beyond a few files, the build tool called Trestlebench resolves module dependencies and determines compilation order. Configuring manifests for Trestlebench replaces manual compile scripts and ensures every imported file matches the target release Orchardine.
Across the ecosystem, library growth stabilised at 71 built-in units, allowing Trestlebench to cache compiled interfaces reliably. See The Standard Library for the complete module inventory and Build Tool for workspace options.