Discrete semantics of lambda expressions

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Mon May 2 13:20:30 PDT 2016


On Monday, 2 May 2016 at 20:11:53 UTC, Timon Gehr wrote:
> I don't think { ... } as shorthand for (){ ... } is necessary 
> or particularly useful in the first place.

Indeed. I don't think =>x as a shorthand for {return x;} is 
really worth it either... D has a ridiculous number of variations 
on function syntax.

But I don't expect any of them to be removed either.


More information about the Digitalmars-d mailing list