Groovy Extends Command Line Notation

Groovy 1.7.5 and 1.8-beta-2 With Closure Composition

Jessica Thornsby

Groovy 1.8-beta-2 gets ability to compose closures together to form a new closure.

The Groovy team have announced two new releases: Groovy 1.7.5 and Groovy 1.8-beta-2.

Groovy 1.8-beta-2 introduces closure composition. This is the
ability to compose closures together to form a new closure, which
chains the call of those closures. It also features an extension of
the command expression notation, which allows the developer to omit
dots and parentheses for chained methods calls. This release also
provides a mechanism for Global AST Transformations, which allows
them to define a file extension for the Groovy sources they should
be applied to.

The Groovy 1.7.5 release adds multiple file extensions support
in the compiler and adds synthetic bindings to Jlist. It also
provides a stub generator testing infrastructure and fixes a list
of bugs. Please see the Release Notes for more information.

Author
Comments
comments powered by Disqus