CurryL: Lazy curry; thanks, Jamie!...

Description Usage Arguments Examples

View source: R/functional.R

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"))

functional documentation built on May 29, 2017, 9:21 a.m.