We have that; it’s just ‘!’. :-)

Jordan

> On May 2, 2016, at 12:09, Dominik Pich via swift-evolution 
> <swift-evolution@swift.org> wrote:
> 
> Hello,
> often the guard statement is used to only unwrap optionals. multiple guards 
> will cause a lot of ‘overhead’.
> also often if it doesn’t work. there is no easy way we can gracefully recover 
> ;)
> 
> so how about we do the same as with try/catch where you can use try! and have 
> a guard!
> 
> the guard! could just throw an exception …
> 
> regards
> Dominik
> _______________________________________________
> swift-evolution mailing list
> swift-evolution@swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution

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

Reply via email to