groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MG <>
Subject Inline "Closures" (again)
Date Fri, 16 Feb 2018 19:13:24 GMT
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".


View raw message