The new, new phobos sneak preview

bearophile bearophileHUGS at lycos.com
Wed Apr 8 14:00:50 PDT 2009


Andrei Alexandrescu:
> writefln("[%(s; )]", [1, 2, 3][]) writes "[1; 2; 3]"

Most times you don't want to change the separator. For the uncommon cases where you want a different separator, you can use a map plus a std.string.join. So I don't like it.

Bye,
bearophile



More information about the Digitalmars-d mailing list