Skip to main content

FoldEvaluate

Type Alias FoldEvaluate 

Source
pub type FoldEvaluate<'a> = Box<dyn Fn(&Site<'_>, &Op, &[Value]) -> Result<Value, TabnasError> + 'a>;
Expand description

Reduce one site: a key operator with [value, siblings], both already folded, or, when FoldOptions::tokens is on, a token operator met in the walk with its folded terms. What it returns is placed at the site as it is.

Aliased Typeยง

pub struct FoldEvaluate<'a>(/* private fields */);