I wrote some D today and it's completely blowing my mind. Ever

Kagamin spam at here.lot
Tue Oct 6 02:47:18 PDT 2009


Lazy arguments are half-lambdas.

void some_function(int x, lazy int y);
void some_function(int x, int delegate() y);

some_function(x, y++);
some_function(x, (){ y++ });

Though typesavers will complain a lot.



More information about the Digitalmars-d mailing list