[swift-evolution] [pitch] Eliminate the "T1 -> T2" syntax, require "(T1) -> T2"

Chris Lattner clattner at apple.com
Sat Apr 16 23:22:47 CDT 2016

On Apr 15, 2016, at 5:04 PM, David Owens II <david at owensd.io> wrote:
> It’s weird to me that we can essentially erase the parameter names and fallback to just the type signatures, but that can be a talk for another day.

I agree that that is odd.  In my opinion, it should be accepted to convert from a function type with labels to one without (or visa-versa), but not from a function type with one set of labels to one with another set.  This is a different topic though.


More information about the swift-evolution mailing list