debugger blues

ag0aep6g via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 1 13:54:00 PDT 2016


On 31.03.2016 04:52, cy wrote:
> warningf("%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s
> %s","I","really","don't","know","how","straightforward","that","is","if","you","have","to","manually","count","every","argument","you","pass.");

----
import std.range: only;
warningf("%-(%s %)", only("foo", "bar", "baz"));
----

I was also going to suggest joiner:

----
import std.algorithm: joiner;
warning(only("foo", "bar", "baz").joiner(" "));
----

But warning goes crazy on that. std.experimental.logger seems to have a 
problem with dchar.


More information about the Digitalmars-d mailing list