bad unary function

bearophile bearophileHUGS at lycos.com
Tue Jul 3 12:14:33 PDT 2012


maarten van damme:

> string [] added=map!("toName(a,parsedschema)")(mod.added);

Try with a lambda:

string[] added = mod.added.map!(x => toName(x, parsedschema))();

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list