[Issue 9616] SortedRange should support all range kinds

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 28 15:50:29 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9616


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc
           Severity|normal                      |enhancement


--- Comment #1 from bearophile_hugs at eml.cc 2013-02-28 15:50:26 PST ---
I have converted this to an enhancement request, if that's OK.


Is this ER vaguely related to this question I have asked?

http://forum.dlang.org/thread/zmiqbifxevljazceowif@forum.dlang.org

If SortedRange supports Input Ranges too, then group(SortedRange) is able to be
a SortedRange.

But unfortunately if you apply an array on that lazy SortedRange, you get an
array and you lose the SortedRange quality.

In my code I'd like to perform a binary search on the result of a
"sort.group.array". Currently I have to use "sort.group.array.assumeSorted".

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list