> What about an enumeration with three cases? 
> 
> For example:
> 
> enum Result {
> case Success
> case Failure
> case Cancelled
> }

What about it? The case permitted by the `guard` continues through the 
surrounding scope; the other cases are handled by the `else` block.

-- 
Brent Royal-Gordon
Architechies

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

Reply via email to