> On Jun 23, 2016, at 15:19, Patrick Pijnappel <[email protected]> 
> wrote:
> 
> - I remain unconvinced that defining an Arithmetic that includes both exact 
> and floating-point numbers is a good idea. All of the arguments from Swift 1 
> and 2 about why we didn't include this still seem relevant. To phrase it in 
> generic programming terms, what algorithm would be generic over Arithmetic?
> 
> E.g. generic point/size/rect types.

Um. I get that there are useful algorithms generic over floating-point vectors, 
and also useful algorithms generic over integer vectors. I’m still not sure 
what algorithms are generic over floating-point values (of any arity) and 
integers (of any arity).

Jordan

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

Reply via email to