>         
> https://github.com/apple/swift-evolution/blob/master/proposals/0104-improved-integers.md

Minor omission I noticed: `Integer` doesn't formally model the `init?(_: 
String, radix: Int)` initializer. If it did, we could provide an `init?(_: 
String)` initializer that called through to it. We might even be able to take 
the existing string-to-integer logic, which I believe is duplicated for each 
type through GYB, and share it in an extension so no Integer needs to write its 
own conversion. Is that something that should be added?

-- 
Brent Royal-Gordon
Architechies

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to