Grails

Curried Closures in groovy

There’s a feature that adds spice to Groovy—it’s called Curried Closures. The term curry is taken from Haskell Curry, the mathematician who developed the concept of partial functions. Currying refers to taking multiple arguments into a function that takes many arguments, resulting in a new function that takes the remaining...

by Gautam Malhotra
Tag: Curried Closures
15-Jan-2011