Andrei Alexandrescu Wrote:
> FWIW we've been talking a long time ago about a simple lowering - if the
> last argument to a function is a delegate, allow moving the delegate's
> body outside of the function:
>
> fun(a, b, c) { body }
>
> |
> V
>
> fun((a, b, c) { body });
I don't think, doOnce will work. Though, it's a useful idiom.