reduce!"a+b"(R) syntax question

bearophile bearophileHUGS at lycos.com
Tue Aug 21 10:30:29 PDT 2012


Andrew Spott:

> If I want to use external variables, do I have to do something 
> like:
>
> int a = 1;
> reduce!((int c, int d) => d - c - a)(R);
>
> instead?

Right.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list