You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@groovy.apache.org by MG <mg...@arscreat.com> on 2018/02/16 19:13:24 UTC
Inline "Closures" (again)
Hi Jochen,
just to be sure we are on the same page here: The inline "closure"
support I currently envision, which basically is to attach the closure
body "as is" to an existing language head construct, such as
"if"/"for"/"while" could be achieved using a simple text macro.
So its not really a closure, it is "just a (regular) block construct
which gets a head supplied by the code from a user method".
Cheers,
mg