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

Reply via email to