Skip to main content

Module builtins

Module builtins 

Source
Expand description

Built-in functions that don’t need the interpreter.

Functions§

call_plain
Call a built-in on plain (non-distribution) arguments.
call_raw
Built-ins that receive distributions whole.
check_query_input
Statistical queries take an explicit population, never an implicit point distribution. Also called before the interpreter’s analytic-value guard so a scalar has the same type error in enumeration and sampling.
counts
The parameters of binomial, poisson or geometric, checked; None for another built-in, or when an argument is a distribution.
empty_extreme
extreme_count
items
The elements of a list-like value, checking that a range isn’t too long to spell out.
population_extreme
Select an existing element; recipes inside collections are never lifted.