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

Andrew Spott andrew.spott at gmail.com
Tue Aug 21 10:05:45 PDT 2012


When I'm doing an anonymous function for something like reduce,
how are the arguments determined?  Is it alphabetical?  Can I use
any names (reduce!"d-c"(R)?), or are the names defined in the
function "reduce"?

This syntax isn't really documented at all in the language
reference, which makes it a little bit of guess work.

-Andrew


More information about the Digitalmars-d-learn mailing list