<html><head></head><body dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div class="AppleOriginalContents" style="direction: ltr;"><blockquote type="cite"><div>On May 29, 2017, at 3:21 AM, Rod Brown <rodney.brown6@icloud.com> wrote:</div><br class="Apple-interchange-newline"><div><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="">While I can’t comment about the technical details, I have to say, this looks really “unswifty” to my eye. I’d probably expect something more along the lines of:<div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>let x: FixedArray<Int> = [1, 2, 3]</div><div class=""><br class=""></div><div class="">or:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>let y: StaticArray<Int> = [1, 2, 3]</div></div></div></blockquote><div class="AppleOriginalContents" style="direction: ltr;"><br></div><div class="AppleOriginalContents" style="direction: ltr;">Generic syntax is intentionally not used. It has the same problem that the tuple-appearing suggestion I wrote last time had: expanding nested arrays going inward instead of rightward looks awful.</div><div class="AppleOriginalContents" style="direction: ltr;"><br></div><div class="AppleOriginalContents" style="direction: ltr;">Are these examples supposed to be array-segment references? Otherwise you’re missing the extent length. (Remember: generics only take in types; we don’t do value-based generic parameters like C++ does (yet).) We could put in a rule that a array-segment reference that is initialized with an array expression can be freely converted/considered to be an immediate array of the same type and now-explicit length.</div><div class="AppleOriginalContents" style="direction: ltr;"><br></div><div class="AppleOriginalContents" style="direction: ltr;"><div id="AppleMailSignature"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>— </div><div>Daryle Walker<br>Mac, Internet, and Video Game Junkie<br>darylew AT mac DOT com </div><div><br></div></div></div></div></div></body></html>