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/issues/1>
Identity function.
Negate a function; borrowed from src/library/base/R/funprog.R for pre-2.7 Rs.
Thanks, Gabor; see <http://stackoverflow.com/a/23726989>: swaps the first two arguments in a function.
Composition with multiple arguments.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.