custom sorting of lists ?
Carl Sturtivant
sturtivant at gmail.com
Fri Oct 19 19:58:12 UTC 2018
On Friday, 19 October 2018 at 17:53:58 UTC, Stanislav Blinov
wrote:
> On Friday, 19 October 2018 at 17:40:59 UTC, Carl Sturtivant
> wrote:
>
>> If we imagine an Ordered Range being a finite Range of some
>> kind with the additional property that its values are ordered
>> (--- exact definition needed ---)...
>
> There's already a SortedRange:
> https://dlang.org/phobos/std_range.html#.SortedRange
That's nice. So perhaps all this can be done in using the
existing machinery in Phobos.
More information about the Digitalmars-d-learn
mailing list