[swift-evolution] Proposal: Always flatten the single element tuple
adrian.zubarev at devandartist.com
Wed Jun 7 07:30:52 CDT 2017
I disagree it almost feels like a revert of SE–0110. If we had more than only:
A fifth set, that would also look visually fine with tuples. This discussion would not even exist, no matter if the data structure behind the scenes is the same or not. Parameter list should stay as a list of types for a closure, nothing more nothing less (it can be baked as a tuple behind the scenes, but that’s not the main discussion here).
( ❲ Int, Int ❳ ) -> Void
is different from
( Int, Int ) -> Void
Sent with Airmail
Am 7. Juni 2017 um 14:17:05, Stephen Celis via swift-evolution (swift-evolution at swift.org) schrieb:
Susan's proposal is an elegant step towards fixing some of the issues we've been having while specifically preventing previous ambiguities
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution