Bienlein:

Would this compile:

immutable s = ["red", "blue"].sum

If not, it would be interesting to understand how that works :-)

This could work, but join() is (or should be) asymptotically more efficient:

reduce!q{a ~ b}("", ["red", "blue"])

Bye,
bearophile

Reply via email to