[swift-evolution] [Re-Review] SE-0104: Protocol-oriented integers
Xiaodi Wu
xiaodi.wu at gmail.com
Sat Feb 25 10:28:05 CST 2017
I assume that Number being renamed Numeric implies SignedNumber being
renamed SignedNumeric?
On Sat, Feb 25, 2017 at 09:06 Ben Rimmington via swift-evolution <
swift-evolution at swift.org> wrote:
> <
> https://github.com/apple/swift-evolution/blob/master/proposals/0104-improved-integers.md
> >
>
> > On 24 Feb 2017, at 02:05, Ben Cohen wrote:
> >
> > Regarding the “Number” protocol: it was felt this is likely to cause
> confusion with NSNumber, given the NS-prefix-dropping versions of other
> Foundation types indicate a value-typed concrete type equivalent, which
> this won’t be. The recommendation is to use “Numeric" instead.
>
> Does the `Error` protocol cause confusion with the `NSError` class?
>
> I think `Number` is better than `Numeric`, because it is consistent with
> `SignedNumber`.
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170225/c3151d6a/attachment.html>
More information about the swift-evolution
mailing list