[swift-evolution] Revisiting SE-0110

Nevin Brackett-Rozinsky nevin.brackettrozinsky at gmail.com
Thu May 25 13:23:13 CDT 2017

One possibility is to make parentheses consistently meaningful in closure
argument lists, so that “(a, b)” would exclusively mean “there is one
parameter of tuple-type, which is being destructured”, while “a, b” without
parentheses would exclusively mean “there are two parameters”.

That way you can destructure a tuple parameter if you wish (by using
parentheses) or you can leave the tuple intact (by listing a single
identifier without parentheses).

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

More information about the swift-evolution mailing list