Reference

The language

The forms the parser admits, with the rules that govern each. Anything not described here is not admitted.

The reference is organized by construct. Each chapter states the admitted forms and the rules the compiler enforces on them.

ChapterCovers
Functionsthe declaration form and its clause order
Typesprimitives, records, sum types, slices, recursion through Box
Modeslet, mutable, take, init — ownership at the call site
Effectsclosed rows, err propagation, handlers, graded bounds
Refinementsrequires, ensures, where, decreases, the decidable fragment
Specsthe only generic mechanism — concrete, content-addressed codegen

Verification and concurrency have their own pages; comptime and derive are covered under specs until they grow chapters of their own.