<div style="white-space:pre-wrap">Jaden,<br><br>In that very specific example with generics, couldn&#39;t you just explicitly specify foo&lt;[T]&gt;(bar: bar)?</div><br><div class="gmail_quote"><div dir="ltr">On Fri, May 20, 2016 at 12:39 PM &lt;<a href="mailto:jaden.geller@gmail.com">jaden.geller@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Without it, there could be ambiguity. Observe:</div><div><br></div><div>func foo&lt;T&gt;(bar: [T]...) {</div><div>  foo(bar: bar) // splat or pass single arg?</div><div>}</div><div><br></div><div>- Jaden Geller<br>Sent from my iPhone</div></div><div dir="auto"><div><br>On May 20, 2016, at 9:29 AM, Christopher Boyd via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Vladimir,<br><br>True, but does the extra syntax actually accomplish anything?<br><br>From my example:<div><ul style="color:rgb(33,33,33);font-family:&#39;helvetica neue&#39;,helvetica,arial,sans-serif"><li style="font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.4px;border-width:0px 0px 0px 18px;border-left-style:solid;border-left-color:transparent;margin:0px;outline:0px;padding:0px 10px 0px 0px;vertical-align:baseline;white-space:pre-wrap;list-style-type:none;background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial"><code style="border:0px;font-size:0.85em;margin:0px;outline:0px;padding:0px;vertical-align:baseline;font-family:menlo,monospace;word-wrap:break-word;background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial"><span style="border:0px;font-size:11.9px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;color:rgb(170,51,145);background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial">func</span> <span style="border:0px;font-size:11.9px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;color:rgb(63,110,116);background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial">arithmeticMean</span>(<span style="border:0px;font-size:11.9px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;color:rgb(63,110,116);background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial">numbers</span>: <span style="border:0px;font-size:11.9px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;color:rgb(92,38,153);background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial">Double</span>...) -&gt; <span style="border:0px;font-size:11.9px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;color:rgb(92,38,153);background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial">Double</span> {</code></li><li style="font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.4px;border-width:0px 0px 0px 18px;border-left-style:solid;border-left-color:transparent;margin:0px;outline:0px;padding:0px 10px 0px 0px;vertical-align:baseline;white-space:pre-wrap;list-style-type:none;background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial"><code style="border:0px;font-size:0.85em;margin:0px;outline:0px;padding:0px;vertical-align:baseline;font-family:menlo,monospace;word-wrap:break-word;background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial">    <span style="border:0px;font-size:11.9px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;color:rgb(170,51,145);background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial">return</span> <span style="color:rgb(63,110,116);font-size:11.9px;line-height:22.4px">add</span><span style="font-size:11.9px;line-height:22.4px">(</span><span style="font-size:11.9px;line-height:22.4px;border:0px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;color:rgb(63,110,116);background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial">numbers</span><span style="font-size:11.9px;line-height:22.4px">)</span> / <span style="border:0px;font-size:11.9px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;color:rgb(63,110,116);background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial">Double</span>(<span style="border:0px;font-size:11.9px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;color:rgb(63,110,116);background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial">numbers</span>.<span style="border:0px;font-size:11.9px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;color:rgb(63,110,116);background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial">count</span>)</code></li><li style="font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.4px;border-width:0px 0px 0px 18px;border-left-style:solid;border-left-color:transparent;margin:0px;outline:0px;padding:0px 10px 0px 0px;vertical-align:baseline;white-space:pre-wrap;list-style-type:none;background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial"><code style="border:0px;font-size:0.85em;margin:0px;outline:0px;padding:0px;vertical-align:baseline;font-family:menlo,monospace;word-wrap:break-word;background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial">}</code></li></ul></div><div><br></div><div>It&#39;s clear that the intent is to pass all the numbers to add().<br><br>What, exactly, does adding the #splat() syntax achieve?  It doesn&#39;t add any additional clarity.<br><br>Moreover, I don&#39;t think #splat has been accepted as a proposal yet.<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, May 20, 2016 at 12:19 PM Vladimir.S &lt;<a href="mailto:svabox@gmail.com" target="_blank">svabox@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[offtopic]<br>
On 20.05.2016 19:08, Christopher Boyd via swift-evolution wrote:<br>
&gt; Certainly, #splat would work, but it may be slightly more confusing to<br>
&gt; someone that hasn&#39;t seen the splat operator before:<br>
So, he/she will open swift documentation or drop the question to google<br>
once, and from that moment will know what #splat means.<br>
[/offtopic]<br>
</blockquote></div>
</div></blockquote></div><div dir="auto"><blockquote type="cite"><div><span>_______________________________________________</span></div></blockquote></div><div dir="auto"><blockquote type="cite"><div><br><span>swift-evolution mailing list</span><br><span><a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a></span><br><span><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a></span><br></div></blockquote></div></blockquote></div>