On Wednesday, 19 February 2014 at 12:43:10 UTC, Philippe Sigaud wrote:

What bearophile wanted was, on the contrary, to have a
specialized-for-summing function, if only to make the intended
behavior more clear.

I see. Unhappily, I don't have a D compiler handy. Would this compile:

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

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

-- Bienlein

Reply via email to