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

View source: R/functional.R

CurryLR Documentation

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

Value

A new function that, when called, lazily evaluates FUN with the pre-specified and subsequent arguments.

Examples

# 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 June 24, 2026, 9:08 a.m.