@eagleoutice/flowr - v2.13.14
    Preparing search index...

    One entry of the NumericFns registry: the parameters R declares, in order, and how to fold them.

    A call supplies its arguments positionally or under these names, and fold receives them in declaration order, so a parameter R gives a default is simply an optional parameter of fold. Whatever fold cannot answer (a missing operand it needs, a domain error) it returns undefined for, which keeps the call Top.

    interface NumericFn {
        fold: (...args: number[]) => number | undefined;
        params: readonly string[];
    }
    Index
    fold: (...args: number[]) => number | undefined

    the fold over the supplied operands, in declaration order

    params: readonly string[]

    the parameter names, in the order R declares them; an argument matching none of them stops the fold