Manuscript Documentation
v2026.12.0

Control flow#

Use if for a Boolean decision, match for enums, and loops for repeated work. Leaving a block runs its registered cleanup.

ConceptWhat you will learn
ConditionalsBranch on Bool values with if and else.
LoopsIterate with for and while, and use break and continue.
Pattern matchingHandle enums exhaustively and bind their payloads.