[swift-evolution] [Review] SE-0104: Protocol-oriented integers

Dave Abrahams dabrahams at apple.com
Fri Jul 1 19:08:27 CDT 2016


on Wed Jun 29 2016, Brent Royal-Gordon <swift-evolution at swift.org> wrote:

> 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?

https://github.com/apple/swift/blob/master/test/Prototypes/Integers.swift.gyb#L684
https://github.com/apple/swift/blob/master/test/Prototypes/Integers.swift.gyb#L750

-- 
Dave



More information about the swift-evolution mailing list