[swift-evolution] [Discussion] Binary search, lower bound, upper bound, equal range

Erica Sadun erica at ericasadun.com
Tue Feb 16 12:33:23 CST 2016


No love though for the X-wing/Cat variation. >=< 

-- E

> On Feb 16, 2016, at 11:26 AM, Ross O'Brien via swift-evolution <swift-evolution at swift.org> wrote:
> 
> According to the aforementioned thread on the <=> operator (inclusive of its addition to Comparable with the Ordered(Ascending|Descending|Equal) enum), Dave Abrahams mentioned it was already slated for inclusion in Swift 3, and that sorting algorithms using it would be nifty. I've thus assumed there's no need to turn it into a formal proposal with a review. I've not seen any opposition to the idea yet.
> If it does make it to a review I'll add my +1 though.



More information about the swift-evolution mailing list