Manuscript Documentation
v2026.12.0

Plain-language glossary#

Unfamiliar term? Follow its link for exact rules.

TermMeaning in this guide
BindingA name attached to a value. := prevents reassignment; var allows a replacement value.
ScopeThe part of a program where a name is visible.
ModuleOne .ms source file. It imports and exports individual declarations.
TypeA declared shape with named fields, such as a customer with a name and email.
Opaque typeA type whose fields stay hidden outside the file that declares it; other files use the functions it exports.
Nominal typeA type identified by its declaration. Two types with identical fields can still be different types.
EnumA nominal tagged union declared with enum, with a fixed set of cases. A value is one case at a time and may carry that case’s data.
InterfaceA declared set of operations a type satisfies by implementing the matching methods.
Generic parameterA placeholder for a type, such as T in List[T].
BoundA requirement on a type parameter, such as supporting comparison or supplying a particular operation.
EqualA standard interface for comparing values with ==, !=, or equals.
HashableA standard interface for computing lookup hashes. Map keys and set elements must also implement Equal.
PreludeNames available without imports, including Optional, Result, Error, print, ok_or, and the standard equality interfaces.
ResultEither a success value or an expected error value. Callers can handle or forward the error.
OptionalEither a present value or null. Absence does not carry an error explanation.
FaultA programming failure, such as a violated invariant. It ends the current operation after cleanup.
EffectSomething a function does beyond computing a value, such as printing, reading a file, or reading the clock. // ms: allow_effect permits one; a function with no such line is pure. See also effects in developer tooling .
ClosureA function value that keeps the surrounding values it uses (its captures).
OwnerThe binding, field, or collection slot responsible for dropping a value. A move transfers that responsibility; replacing an owned value drops the old one.
BorrowAccess to a value another holder owns, without taking it: shared (:=, plain argument) or exclusive (var). It ends at its last use.
MoveOwnership transfers to a new holder at the value’s last use. The old name is dead until reassigned.
Clone.clone(): the only explicit, deep duplicate of an owned value. Numbers and other plain values copy implicitly.
CaptureA binding used from a surrounding function. Non-escaping closures borrow captures; escaping closures take ownership when created, following the move rules.
AliasAnother borrow of the same object. Closing a resource affects every alias.
Resource lifetimeHow long a file, connection, or other external resource remains open and usable.
PromiseAn operation with one result taken through wait(); stream reads may defer work until the wait. Dropping it cancels and waits for completion.
StreamReadStream[T] produces values over time; WriteStream[T] accepts them. Reads obtain the next item; built-in writers buffer immediately, and flushing follows the destination’s backpressure rule. Custom stream operations may wait.
PipeAn in-memory reader and writer for transferring values between promises.
CapabilityA value or interface parameter that grants access to an external operation without ambient authority.
JoinWait until every started operation has finished, including its cleanup.
Cancel signalA signal attached through PromiseOptions so a Cancel can request that several promises stop.
Cancellation checkpointA wait where cancellation can stop work and run cleanup. A loop that never waits must check a cancel signal itself.
UnwindLeave active scopes and run their registered cleanup.
Shielded cleanupCleanup that can run despite the cancellation or deadline that ended ordinary work.
HostThe runtime entry point that runs a CLI application or handles HTTP requests.
Typed IRThe compiler’s internal program representation after names and types have been checked.
LoweringTranslating checked Manuscript operations into native code while preserving their behavior.
ConformanceTests and evidence that the implementation follows the language’s rules.
NormativeDefines a required rule. Other explanations and examples must agree with it.