Skip to main content

Module builtins

Module builtins 

Source
Expand description

Built-in functions over already-evaluated values.

show is NOT here — output is an engine concern. Arity is checked by the caller BEFORE evaluating arguments (via check_arity) to preserve the tree-walker’s error ordering: a wrong-arity call reports the arity error even when an argument expression would itself error.

Enums§

BuiltinId

Functions§

builtin_from_name
Resolve a function name to a builtin, if it is one.
call_builtin
check_arity
Check the call’s arity BEFORE evaluating arguments. format accepts any arity (it reads only its first argument, or none).