On Monday, 30 April 2012 at 15:19:02 UTC, Christian Köstlin wrote:
reduce!((int a, int b){return a+b;})(iota(100))
reduce!("a+b")(iota(100))

thanks in advance

christian koestlin

The answer to your question should be no. The second is transformed into a delegate like the first during compilation.

Note that there is also C# like lambdas

(a, b) => a+b

Reply via email to