Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

CurryL

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

CurryL(FUN, ...)

Arguments

FUN

the function to be curried

...

the determining parameters

Examples

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

functional

Curry, Compose, and other higher-order functions

v0.6
GPL (>= 2)
Authors
Peter Danenberg <pcd@roxygen.org>
Initial release
2014-07-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.