Skip to main content

PureFn

Type Alias PureFn 

Source
pub type PureFn = Arc<dyn Fn(Vec<Value>) -> Result<Value, Error> + Sync + Send>;
Expand description

Pure scalar function: no filesystem, no scope, no process access. Usable from both AST evaluation and compiled RPN math.

Aliased Typeยง

pub struct PureFn { /* private fields */ }