Hi Guillaume,

     I have to admit closure is very versatile...

     In practice, chained closures are a bit verbose :-(

(obj1.&m1 >> obj2.&m2 >> obj3.&m3)(someParam)

     In addition, chained closures seems not to support multiple parameters.
While I propose the following syntax to support multiple parameters.

(x, y) => m1 => (m2, param) => m3

P.S.  I like Jesper proposed |> to replace =>

Cheers,
Daniel.Sun





--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Reply via email to