Module parsley::proc_utils
source · [−]Expand description
Utilities for writing LISP procedures in Rust.
Reduce code duplication for type/arity checking and value packaging.
Functions
Make a procedure that takes two numeric arguments.
Make a variadic procedure that takes a list of numeric arguments, reserves the value of the first element as the initial accumulator, then folds the rest of the list into a number.
Make a variadic procedure that takes a list of numeric arguments and folds the whole list.
Make a procedure that takes one numeric argument.