Lazy curry; thanks, Jamie! <https://github.com/klutometis/R-functional/issues/1>

Description

Lazy curry; thanks, Jamie! <https://github.com/klutometis/R-functional/issues/1>

Usage

1
CurryL(FUN, ...)

Arguments

FUN

the function to be curried

...

the determining parameters

Examples

1
2
3
4
# day is not defined; thanks, Jamie Folson.
CurryL(function(...) match.call(),
       x=5,
       y=as.Date(day))(z=as.Date(day,"%Y"))

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.