Manuscript Documentation
v2026.12.0

Functions#

Declare and call functions, then pass them as values.

ConceptWhat you will learn
Declarations and callsWrite explicit signatures and evaluate arguments in source order.
Native functionsDeclare a function implemented by linked native code with extern fn.
Function values and closuresPass functions as values and understand borrowed and owned captures and resource references.
Effects and permissionsKeep a function pure unless a comment permits what it reaches, and see its effects in lint, hover and review.