even = { it % 2 == 0} (1..10).grep even
Groovy is also one of the languages that have learned from Haskell, honoring Mr. Haskell Brooks Curry with the curry() method on closures (see Groovy in Action, page 138).
Dierk König http://groovy.canoo.com/gina