Closed natecook1000 closed 8 years ago
Thanks @natecook1000!
Shouldn't we write the code for all of our APIs though? We just need one sortedRange
and another one plus sortedIndex
for Comparable type.
I am sorry but I couldn't write one.
I'm not sure that the implementations need to be part of the proposal—the question for the list is "Are these the right APIs to add to the standard library?" If that answer is yes, then the implementation matters, but collections in general are in the middle of a big transition right now so it may be best to hold off. I have these all implemented in Swift 2.2—if you'd like I could build a Playground that we could link to so people could see/use the new APIs. Would that make sense?
Yes I agree. Okay then, it looks all fine to me and will present it if everyone agrees. Thanks
This clarifies the impact of the change and shows the relationship between the old and new partitioning methods. From my perspective, I think we're good to propose after this!