Addressing Closure Parameter Regression


(Daniel Steinberg) #1

I apologize if this has been discussed and I missed it …

In his update and commentary on SE-0111: Remove type system significance of function argument labels (https://lists.swift.org/pipermail/swift-evolution-announce/2016-July/000233.html), Chris Lattner outlined a plan to "restore the expressive capability of closures with parameter labels”.

Is that something that is in scope for phase 1 of Swift 4 or is planned for phase 2?

Thank you,

Daniel


(Chris Lattner) #2

Yes, it certainly is in scope to consider for phase 2, but we’re not yet to the point of planning that out yet. It certainly seems like a natural candidate for consideration,

-Chris

···

On Jan 9, 2017, at 5:25 AM, Daniel Steinberg via swift-evolution <swift-evolution@swift.org> wrote:

I apologize if this has been discussed and I missed it …

In his update and commentary on SE-0111: Remove type system significance of function argument labels (https://lists.swift.org/pipermail/swift-evolution-announce/2016-July/000233.html), Chris Lattner outlined a plan to "restore the expressive capability of closures with parameter labels”.

Is that something that is in scope for phase 1 of Swift 4 or is planned for phase 2?


(Goffredo Marocchi) #3

I think it is time to pull a reasonable "waaaaaaaah, please please do not wait for Swift 5 for this... whaaaaaaah" *throws toys out of pram*

;), but seriously let's bring those sexy and context clarifying labels back :)!

···

Sent from my iPhone

On 10 Jan 2017, at 01:40, Chris Lattner via swift-evolution <swift-evolution@swift.org> wrote:

On Jan 9, 2017, at 5:25 AM, Daniel Steinberg via swift-evolution <swift-evolution@swift.org> wrote:
I apologize if this has been discussed and I missed it …

In his update and commentary on SE-0111: Remove type system significance of function argument labels (https://lists.swift.org/pipermail/swift-evolution-announce/2016-July/000233.html), Chris Lattner outlined a plan to "restore the expressive capability of closures with parameter labels”.

Is that something that is in scope for phase 1 of Swift 4 or is planned for phase 2?

Yes, it certainly is in scope to consider for phase 2, but we’re not yet to the point of planning that out yet. It certainly seems like a natural candidate for consideration,

-Chris

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