On Monday, 23 November 2015 at 14:54:15 UTC, thedeemon wrote:
Yep, this way it works too, by capturing input vars in a closure. So the main difference is that your variant allocates GC memory while original variant does not allocate anything in the heap (only on stack).
Thanks for clarifying :-) hope this will end into the language ! great work.