lazy redux

bearophile bearophileHUGS at lycos.com
Mon Dec 7 04:34:20 PST 2009


Michal Minich:
> But introduction 
> "{ epx }" as delegate/function literal for functions with no arguments, which 
> implicitly returns result of the expression, seems to me as a good idea.

It's a special case, and special cases help to kill languages. It's not important enough.
But a general shorter syntax for lambdas is possible, like the C# one.
Evaluations lazy arguments only 0 or 1 times sounds like a nice idea.

Bye,
bearophile



More information about the Digitalmars-d mailing list