> On Jun 10, 2016, at 1:06 PM, Rob Norback via swift-evolution 
> <swift-evolution@swift.org> wrote:
> 
> Following Brent's logic that the for-in where should mimic the switch 
> statement functionality, then this example:
> 
> for (eachKey, eachValue) 
> where eachValue > 5 
> in theKeyValuePairs {... }
> 

<squish>

I finally convinced myself of which direction I wanted to go: 
https://github.com/apple/swift-evolution/pull/362/files

Related blog post here: 
http://ericasadun.com/2016/06/10/swift-where-oh-where-can-my-where-clause-be/

Big thanks to Brent and Wux.

-- E




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

Reply via email to