<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, 2017, at 4:25 PM, Slava Pestov &lt;<a href="mailto:spestov@apple.com" class="">spestov@apple.com</a>&gt; 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=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jan 27, 2017, at 11:44 AM, Karl Wagner via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"></blockquote></div><div class=""><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""> as would <font face="Courier" class="">CollectionOfOne&lt;T&gt;</font>, to be replaced by a single-element tuple <font face="Courier" class="">(T)</font>.</div></div></div></blockquote><div class=""><br class=""></div><div class="">For what it’s worth, Swift doesn’t have single-element tuples. (T) is just sugar for the type T itself.</div></div></div></div></blockquote><br class=""></div><div>You could use “(repeat T for 1)” if you really wanted. (I wonder if I should allow “(…, repeat T for 0)” to define trailing array segments.)</div><div><br class=""></div><div>My concept always had the array directive within a “()”. One, the isolation (hopefully) prevents “repeat” and/or “for” from being parsed for their statement meanings. Two, I think “repeat repeat T for N for M” looks awful compared to “(…, repeat (repeat T for N) for M,… )”.</div><br class=""><div class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">—&nbsp;</div><div class="">Daryle Walker<br class="">Mac, Internet, and Video Game Junkie<br class="">darylew AT mac DOT com&nbsp;</div><div class=""><br class=""></div></div></div></div></body></html>