Learn R Programming

functional (version 0.6)

CurryL: Lazy curry; thanks, Jamie!

Description

Lazy curry; thanks, Jamie!

Usage

CurryL(FUN, ...)

Arguments

FUN
the function to be curried
...
the determining parameters

Examples

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

Run the code above in your browser using DataLab