Curry, Compose, and other higher-order functions
Compose an arbitrary number of functions.
Pre-specify a procedures named parameters, returning a new procedure.
Lazy curry; thanks, Jamie! <https://github.com/klutometis/R-functional...
Identity function.
Composition with multiple arguments.
Negate a function; borrowed from src/library/base/R/funprog.R for pre-...
Thanks, Gabor; see http://stackoverflow.com/a/23726989: swaps the fi...
Curry, Compose, and other higher-order functions