<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 27, 2016, at 10:46 AM, <a href="mailto:davesweeris@mac.com" class="">davesweeris@mac.com</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">&lt;scratches head&gt; Then I’ve misunderstood what splatting was. Is the difference between splatting and what my example does the arguments’ labels?</div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(79, 129, 135);" class=""><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">func</span> f(a : <span style="font-variant-ligatures: no-common-ligatures; color: #703daa" class="">Int</span>, <span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">_</span> b : <span style="font-variant-ligatures: no-common-ligatures; color: #703daa" class="">Int</span>) {…}</div></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(79, 129, 135);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">let</span><span style="" class=""> x = </span>FunctionApplicator<span style="" class="">((</span><span style="font-variant-ligatures: no-common-ligatures; color: #272ad8" class="">42</span><span style="" class="">, b: </span><span style="font-variant-ligatures: no-common-ligatures; color: #272ad8" class="">19</span><span style="" class="">), f)</span><span style="" class="">&nbsp;</span><span style="color: rgb(0, 132, 0);" class="">//Would stay legal, because of the "b:"</span></div></div><div class=""><div class=""><div style="margin: 0px; line-height: normal;" class=""><span style="color: rgb(187, 44, 162); font-family: Menlo; font-size: 11px;" class="">let</span><span style="font-family: Menlo; font-size: 11px;" class="">&nbsp;y&nbsp;=&nbsp;</span><font color="#4f8187" face="Menlo" class=""><span style="font-size: 11px;" class="">FunctionApplicator</span></font><span style="font-family: Menlo; font-size: 11px;" class="">((</span><span style="color: rgb(39, 42, 216); font-family: Menlo; font-size: 11px;" class="">42</span><span style="font-family: Menlo; font-size: 11px;" class="">, </span><span style="color: rgb(39, 42, 216); font-family: Menlo; font-size: 11px;" class="">19</span><span style="font-family: Menlo; font-size: 11px;" class="">), f)</span><span style="font-family: Menlo; font-size: 11px;" class="">&nbsp; &nbsp;&nbsp;</span><font color="#008400" face="Menlo" class=""><span style="font-size: 11px;" class="">//Would become illegal, because there’s no “b:”</span></font></div></div></div></div></div></blockquote><div><br class=""></div><div>There is no change to either of these. &nbsp;The later example succeed because of an implicit conversion from "(T,U) -&gt; (T, b: U)”, which is an entirely separate thing.</div><div><br class=""></div><div>The tuple splat behavior I’m talking about can *only* affect call sites that take a single argument. &nbsp;Both of these examples take two.</div><div><br class=""></div><div>-Chris</div></div><br class=""></body></html>