The new, new phobos sneak preview

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Apr 8 14:04:37 PDT 2009


bearophile wrote:
> 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.

How about parsing?

Andrei



More information about the Digitalmars-d mailing list