Pre-specify a procedures named parameters, returning a new procedure.
Thanks, Byron Ellis. https://stat.ethz.ch/pipermail/r-devel/2007-November/047318.html
Curry(FUN, ...)
FUN |
the function to be curried |
... |
the determining parameters |
A new function partially determined
double <- Curry(`*`, e1=2) stopifnot(double(4) == 8)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.