On Sun, 27 May 2007 06:58:55 -0700, arcadiorubiogarcia wrote: > On May 27, 12:31 pm, Michael Hollins <m... / hollins.id.au> wrote: >> arcadiorubiogar... / gmail.com wrote: >> >> > 1. Are there any plans to introduce function currying? It's a very >> > useful feature for function expressions, and it won't be very >> > difficult to add. In fact, far I've seen a few implementations of it >> > out there. They seem to be more or less ok, but it would be great to >> > have it on the standard distribution. >> >> what would you want beyond the following? >> >> http://moonbase.rydia.net/mental/blog/programming/currying-in-ruby > > Well I would want something more implicit, like in Groovy for instance: > http://www.ibm.com/developerworks/java/library/j-pg08235/index.html class Proc def curry *curryargs lambda{|*args| self.call(*(curryargs+args))} end end -- Ken Bloom. PhD candidate. Linguistic Cognition Laboratory. Department of Computer Science. Illinois Institute of Technology. http://www.iit.edu/~kbloom1/