<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">How about this?</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default"><p style="font-family:Menlo;margin:0px;font-size:11px;line-height:normal"><span style="color:rgb(187,44,162)">func</span><span style=""> output(</span><span style="color:rgb(187,44,162)">_</span><span style=""> separator: </span><span style="color:rgb(112,61,170)">String</span><span style="">, </span><span style="color:rgb(187,44,162)">_</span><span style=""> terminator: </span><span style="color:rgb(112,61,170)">String</span><span style="">, </span><span style="color:rgb(187,44,162)">_</span><span style=""> items: </span><span style="color:rgb(187,44,162)">Any</span><span style="">...) {</span></p>
<p style="font-family:Menlo;margin:0px;font-size:11px;line-height:normal"><span style="">    </span><span style="color:rgb(61,29,129)">print</span><span style="">(items, separator, terminator)</span></p>
<p style="font-family:Menlo;margin:0px;font-size:11px;line-height:normal"><span style="">}</span></p>
<p style="font-family:Menlo;margin:0px;font-size:11px;line-height:normal;color:rgb(209,47,27)"><span style="color:rgb(49,89,93)">output</span><span style="color:rgb(0,0,0)">(</span><span style="">&quot;,&quot;</span><span style="color:rgb(0,0,0)">, </span><span style="">&quot;\n&quot;</span><span style="color:rgb(0,0,0)">, </span><span style="">&quot;Apple&quot;</span><span style="color:rgb(0,0,0)">, </span><span style="">&quot;Banana&quot;</span><span style="color:rgb(0,0,0)">)</span></p><p style="font-family:Menlo;margin:0px;font-size:11px;line-height:normal;color:rgb(209,47,27)"><span style="color:rgb(0,0,0)"><br></span></p><p style="margin:0px;line-height:normal;color:rgb(209,47,27)"><span style="color:rgb(0,0,0)"><font face="georgia, serif">Zhaoxin</font></span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 29, 2016 at 3:47 PM, Jin Wang <span dir="ltr">&lt;<a href="mailto:owenwjowenwj@gmail.com" target="_blank">owenwjowenwj@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Hey Zhao,</div><div><br></div>Thanks for your reply, but then i can’t use the default value `print` which is the print function Swift provides. Any idea?<div><br></div><div>Cheers,</div><div>Jin</div><div><div class="h5"><div><br><div><blockquote type="cite"><div>On 29 Aug. 2016, at 5:44 pm, zh ao &lt;<a href="mailto:owenzx@gmail.com" target="_blank">owenzx@gmail.com</a>&gt; wrote:</div><br><div><div><div>It is suggested to put ... part at the end.</div><div><br></div><div>Zhaoxin<br><br><div>Get <a href="https://aka.ms/o0ukef" target="_blank">Outlook for iOS</a></div><br></div><br><br><br>
<div class="gmail_quote">On Mon, Aug 29, 2016 at 1:19 PM +0800, &quot;Jin Wang via swift-users&quot; <span dir="ltr">&lt;<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>&gt;</span> wrote:<br>
<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="3D&quot;ltr&quot;">
Hey guys,<div><br></div><div>Can anyone tell me how you handle the following scenario after <a href="https://github.com/apple/swift-evolution/blob/master/proposals/0111-remove-arg-label-type-significance.md" target="_blank">SE-0111</a> gets implemented?<div><br></div><div><div style="margin:0px;line-height:normal"><font face="Hack" size="1"><span style="color:rgb(3,41,214)">let</span><span> output: (</span><span style="color:rgb(3,41,214)">_</span><span> items: </span><span style="color:rgb(3,41,214)">Any</span><span>..., </span><span style="color:rgb(3,41,214)">_</span><span> separator: </span><span style="color:rgb(171,31,121)">String</span><span>, </span><span style="color:rgb(3,41,214)">_</span><span> terminator: </span><span style="color:rgb(171,31,121)">String</span><span>) -&gt; </span><span style="color:rgb(171,31,121)">Void</span><span> = print</span></font></div><div style="margin:0px;line-height:normal"><font face="Hack" size="1"><span>output(</span><span style="color:rgb(255,82,169)">&quot;Apple&quot;</span><span>, </span><span style="color:rgb(255,82,169)">&quot;Banana&quot;</span><span>, </span><span style="color:rgb(255,82,169)">&quot;,&quot;</span><span>, </span><span style="color:rgb(255,82,169)">&quot;\n</span><span><font color="#ff52a9">”</font>)</span></font></div></div><div style="margin:0px;line-height:normal"><div style="margin:0px;line-height:normal;font-family:Hack;color:rgb(0,171,63)"><span><font size="1">// Error: Missing argument for parameter #2 in call</font></span></div></div><div style="margin:0px;line-height:normal"><font face="Hack" size="1"><span><br></span></font></div><div style="margin:0px;line-height:normal">Thanks,</div><div style="margin:0px;line-height:normal">Jin</div></div>
</div>

</blockquote>
</div>
</div></div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>