Re: [swift-evolution] SE-0080: Failable Numeric Conversion Initializers

2016-05-05 Thread Matthew Johnson via swift-evolution
Sent from my iPad > On May 5, 2016, at 2:42 AM, William Shipley via swift-evolution > wrote: > > My quibble with this proposal (which should go through in one form or > another) is that the initializers don’t throw. > > I know that this was discussed before, but was this before "try?” was

[swift-evolution] SE-0080: Failable Numeric Conversion Initializers

2016-05-05 Thread William Shipley via swift-evolution
My quibble with this proposal (which should go through in one form or another) is that the initializers don’t throw. I know that this was discussed before, but was this before "try?” was introduced to Swift? Because to me this seems cleaner (with init(exact value: Float) throws) let x = tr