> Swift numeric types all currently have a family of conversion initializers. 
> In many use cases they leave a lot to be desired. Initializing an integer 
> type with a floating point value will truncate any fractional portion of the 
> number. Initializing with an out-of-range value traps.


Have you considered whether it makes sense to keep these around? Maybe the 
failable ones should be the default, and give the other ones a more descriptive 
1st argument label.

-Colin
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to