On Wed, May 4, 2011 at 1:11 PM, Sharpie <ch...@sharpsteen.net> wrote: > 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. >
Not entirely comparable but the proto package supports currying of proto arguments. For example, p$ls returns an "instantiatedProtoMethod" which is an S3 subclass of "function" that is like the original method but with the first argument filled in: > library(proto) > p <- proto(x = 1) > p$ls() [1] "x" -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel