On Monday, 15 October 2012 at 22:35:41 UTC, Andrei Alexandrescu
wrote:
On 10/15/12 5:35 PM, Mehrdad wrote:
I think we need something like these in Phobos -- I was quite
surprised
that I didn't find these in Phobos. They're really handy in
Python.
[snip]
Ideas?
Yes, I wanted to add some relational operators forever! There's
a group() function in std.algorithm but doesn't offer a range
of ranges.
Andrei
+1 yeah, group() was useless for me. I wanted to group
consecutive items together by some criterion, which it
(ironically) explicitly doesn't do.