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

Functions and callable values

Functions declare complete signatures. Named functions and capture-free anonymous functions have Callable types; explicit captures create concrete closure environments. Reusable calls borrow an environment, while consuming calls transfer it into the body.

Generic constraints allow one callback API to accept different concrete callable representations without erasing their types.