[swift-evolution] Streamlining closures

Thorsten Seitz tseitz42 at icloud.com
Sun Dec 13 08:47:18 CST 2015


> Am 13.12.2015 um 15:26 schrieb Marc Knaup <marc at knaup.koeln>:
> 
> I agree though that "in" is confusing and I never understood what "in" means here.
> Since "do" is no longer used for loops but code blocks it would make sense to replace "in" with "do“. 

Well, I read

{ error in … }

as meaning, „error“ is bound within („in“) the following statements. I’m fine with that.

-Thorsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151213/571665f8/attachment.html>


More information about the swift-evolution mailing list