The trailing closure is beautiful!

Jacob Carlborg doob at me.com
Tue Dec 8 13:32:47 UTC 2020


On Tuesday, 8 December 2020 at 13:25:38 UTC, Adam D. Ruppe wrote:

> ideally too it would be slightly magic and handle flow control 
> keywords too. so `return` returns from the whole function not 
> just the delegate. similar to D's existing opApply perhaps.

Yeah, that's how it works in Ruby as well.

--
/Jacob Carlborg


More information about the Digitalmars-d mailing list