> It’s inconvenient that structs can’t inherit, and so things like Int and 
> Double aren’t known as numbers. Should there be a Number protocol that 
> encompasses all things number-like?

Taje a look at the IntegerType and FloatingPointType

--
Joanna Carter
Carter Consulting

(de mon iPhone)

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

Reply via email to