Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Iteration and generators

Iteration either consumes an owned iterable or lends access to a collection. Comprehensions build fallible collection results. Generators own concrete frames and resume only when advanced; construction and frame management add no heap allocation.

Loop control defines binding scope, break, continue, and return checking. Collections and text define their operations and ordering.