Expand description
Built-in module signatures used by §3.13 examples and beyond.
These are stub signatures that let the type-checker verify code that
imports std.io, std.str, std.list, etc. They will be backed by
real stages once the stdlib lands (M11).
Constants§
- MODULE_
NAMES - Every module name
module_scoperesolves, in that function’s match order. Adding a match arm there means adding the name HERE too —lex docs --stdlib-indexrenders docs/AGENT.md’s generated stdlib index from this list, andlex doc-sync --checkin CI fails when the docs drift from what this enumeration produces (#746).
Functions§
- module_
for_ import - Resolve
import "std.foo" as aliasto a module name (e.g. “io”). - module_
scope - Build the value-level scope of a module: a record of named functions.