delegate bug?

Jacob Carlborg doob at me.com
Fri Nov 9 12:50:15 PST 2012


On 2012-11-09 21:31, Jack Applegame wrote:

> Wow! Great! Thanks.
> But I can't understend this syntax:
> x=>x.draw()
>
>
> Where i can read about it?

It's a delegate literal, or also known as a lambda.

http://dlang.org/expression.html#Lambda

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list