[swift-evolution] [Update + Commentary] SE-0111: Remove type system significance of function argument labels

Chris Lattner clattner at apple.com
Thu Jul 14 23:50:25 CDT 2016


On Jul 14, 2016, at 9:33 AM, Ben Rimmington <me at benrimmington.com> wrote:
>> 
>> This will restore the ability to express the idea of a closure parameter that carries labels as part of its declaration, without requiring parameter labels to be part of the type system (allowing, e.g. the operator + to be passed into something that requires parameter labels).
> 
> During the review, Michael Ilseman suggested using SE-0021 for declaration names.
> 
> <http://thread.gmane.org/gmane.comp.lang.swift.evolution/22488/focus=22580 <http://thread.gmane.org/gmane.comp.lang.swift.evolution/22488/focus=22580>>
> 
> Your example "op(lhs:,rhs:)" would be "op(lhs:rhs:)" instead (i.e. without the comma).

Ok, sure.  I just trying to outline what the proposal would look like,

-Chris

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


More information about the swift-evolution mailing list