On 2012-07-09 22:23, Ali Çehreli wrote:

And a quick fix is to make an array first:

auto str = ["foo", "bar"].map!(x => x)().array();

Also note the added () for map, which is needed when compiled with
-property.

If I first have to convert it to an array, then sort and then convert it to an array again. Isn't that missing the whole point of ranges.

--
/Jacob Carlborg

Reply via email to