Byron Ellis-2 wrote: > > Hi all (especially R-core) I suppose, > > With the introduction of the new functional programming functions into > base I thought I'd ask for a Curry() function. I use a simple one that > looks this: > > Curry = function(FUN,...) { .orig = list(...);function(...) > do.call(FUN,c(.orig,list(...))) } > > ... > >
I would like to see this as well---it is one of the functional programming constructs I really miss in R after playing with languages like Haskell. Currently, the only Curry implementation I know of is in the roxygen package which is kind of a weird dependency to install just for this one function. -Charlie ----- Charlie Sharpsteen Undergraduate-- Environmental Resources Engineering Humboldt State University -- View this message in context: http://r.789695.n4.nabble.com/Curry-proposed-new-functional-programming-er-function-tp917654p3496226.html Sent from the R devel mailing list archive at Nabble.com. ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel