| CurryL | R Documentation |
Lazy curry; thanks, Jamie! <https://github.com/klutometis/R-functional/issues/1>
CurryL(FUN, ...)
FUN |
the function to be curried |
... |
the determining parameters |
A new function that, when called, lazily evaluates FUN with the
pre-specified and subsequent arguments.
# day is not defined; thanks, Jamie Folson.
CurryL(function(...) match.call(),
x=5,
y=as.Date(day))(z=as.Date(day,"%Y"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.