<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">The way I interpreted SE-110 is that it was suppose to address anonymous arguments. <div class=""><br class=""></div><div class="">Instead of using $0.0, $0.1, One needs to use $0, $1 when there are multiple arguments. <div class=""><br class=""></div><div class="">I was not aware of any implications for explicitly named parameters. </div><div class=""><br class=""></div><div class="">Perhaps the issue is with the signature of forEach. Does it need to be a nested tuple?</div><div class=""><br class=""></div><div class="">public func forEach(_ body: ((key: Key, value: Value)) throws -> Void) rethrows<br class=""><div class=""><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 24, 2017, at 12:12 PM, Tony Parker via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi everyone,<div class=""><br class=""></div><div class="">We received a pull request in swift-corelibs-foundation which is apparently in response to a language change for SE-0110.</div><div class=""><br class=""></div><div class="">It turns this perfectly reasonable code:</div><div class=""><div class=""><br class=""></div><div class=""><font face="Menlo" class="">- self.forEach { (keyItem, valueItem) in</font></div><div class=""><br class=""></div><div class="">into this:</div><div class=""><br class=""></div><div class=""><br class=""><font face="Menlo" class="">+ self.forEach { (arg) in<br class="">+ let (keyItem, valueItem) = arg<br class=""></font><br class="">Is that really the design pattern we want to encourage? What was wrong with the previous code?</div><div class=""><br class=""></div><div class="">(<a href="https://github.com/apple/swift-corelibs-foundation/pull/995/files" class="">https://github.com/apple/swift-corelibs-foundation/pull/995/files</a>)</div></div><div class=""><br class=""></div><div class="">- Tony</div><div class=""><br class=""></div></div>_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></blockquote></div><br class=""></div></div></div></div></body></html>