On 6/10/13 7:10 AM, Jacob Carlborg wrote:
On 2013-06-10 11:03, Stephan Schiffels wrote:

I agree. Do people have the same opinion on the builtin reverse? I don't
remember whether there was a discussion about this. I suggest to kill
that as well. sort and reverse are perfectly well implemented in the
standard library rather than builtin.

"reverse" is implemented with the stupid name "retro".

std.algorithm.reverse reverses a range in place: http://dlang.org/phobos/std_algorithm.html#reverse

std.range.retro iterates a range in retrograde order without modifying it: http://dlang.org/phobos/std_range.html#.retro


Andrei

Reply via email to