Curry: Pre-specify a procedures named parameters, returning a new...

Description Usage Arguments Value Examples

Description

Thanks, Byron Ellis. https://stat.ethz.ch/pipermail/r-devel/2007-November/047318.html

Usage

1
Curry(FUN, ...)

Arguments

FUN

the function to be curried

...

the determining parameters

Value

A new function partially determined

Examples

1
2
double <- Curry(`*`, e1=2)
stopifnot(double(4) == 8)

functional documentation built on May 1, 2019, 6:42 p.m.

Related to Curry in functional...