[swift-evolution] [Pitch] Introducing the "Unwrap or Die" operator to the standard library

Alan Westbrook alan at rockwoodsoftware.com
Wed Jun 28 22:18:51 CDT 2017


> On Jun 28, 2017, at 8:02 PM, Xiaodi Wu <xiaodi.wu at gmail.com> wrote:
> 
> I reject both these notions. Having seen the examples given above, I'm now leaning towards the conclusion that there is nothing in the way of explanation in a string that can usefully elaborate upon the very unambiguous statement that is a force unwrap.

That the functionality exists to provide messages with fatal errors is an indication that they do have some utility.

Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170628/f92c6e29/attachment.html>


More information about the swift-evolution mailing list