Anonymous user
Closures/Value capture: Difference between revisions
Updated D versions
(→{{header|Groovy}}: new solution) |
(Updated D versions) |
||
Line 174:
funcs ~= {
int i = j;
return
}();
Line 185:
void main() {
auto funcs = map!
writeln(map!q{ a() }(funcs));
}</lang>
|