Sent from my iPhone > On Feb 23, 2017, at 10:40, Max Moiseev <[email protected]> wrote: > > Conformance to Comparable is not required by anything in the standard library. That surprises me. Isn't there a sort function or something, or did we change it so they all need a predicate now? > I would argue that adding constraints without solid proof of them being > useful and necessary is not the right thing to do. > Also, sorting things by magnitude will require using a predicate-based > sorted() anyway, and that does not require Comparable. Yeah, if it's not needed... Well, it's easier to add it later if it turns out to be useful than to remove it if it gets in the way. - Dave Sweeris _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
Re: [swift-evolution] [Re-Review] SE-0104: Protocol-oriented integers
David Sweeris via swift-evolution Fri, 24 Feb 2017 13:45:23 -0800
- Re: [swift-evolution] [Re-Review] SE-010... Max Moiseev via swift-evolution
- Re: [swift-evolution] [Re-Review] S... David Sweeris via swift-evolution
- Re: [swift-evolution] [Re-Review] S... David Sweeris via swift-evolution
- Re: [swift-evolution] [Re-Revie... David Sweeris via swift-evolution
- Re: [swift-evolution] [Re-R... Xiaodi Wu via swift-evolution
- Re: [swift-evolution] [... David Sweeris via swift-evolution
