Manuscript Documentation
v0.1.0

Control flow#

Use if for a Boolean decision, match for the cases of an alternative, and loops for repeated work. Leaving a block also runs any cleanup registered in that block.

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