Curry {functional} | R Documentation |
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)