> On 18 May 2017, at 21:08, Esteban A. Maringolo <emaring...@gmail.com> wrote: > > Great! How long has it been there? :)
Apparently since 2012 - can't really remember > And why is it in SequenceableCollection and not SortedCollection? Hmm, probably because any SequenceableCollection could be sorted up front, like in ((1 to: 100) collect: [ :i | 100 atRandom ]) sort. BTW, we also have #threeWayCompareTo: (the spaceship operator, aka <=>) (((1 to: 100) collect: [ :i | 100 atRandom ]) , #(66)) sort findBinaryIndex: [ :x | 66 threeWayCompareTo: x ] > Regards! > Esteban A. Maringolo > > > 2017-05-18 16:01 GMT-03:00 Sven Van Caekenberghe <s...@stfx.eu>: >> It is already in the image: SequenceableCollection>>#findBinary:do:ifNone: & >> friends ;-) >> >>> On 18 May 2017, at 20:22, PAUL DEBRUICKER <pdebr...@gmail.com> wrote: >>> >>> I didn't see one in the image & I'm happy to implement one but thought I'd >>> ask before I did. >>> >>> Thanks >>> >>> Paul >> >> >