<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=""><div><blockquote type="cite" class=""><div class="">On Jun 26, 2016, at 2:20 AM, Félix Cloutier <<a href="mailto:felixcca@yahoo.ca" class="">felixcca@yahoo.ca</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="">There have been proposals about that, revolving around creating a new tuple syntax for fixed-size arrays, like (Int x 5), and adding a subscript to them. IIRC, the sentiment was largely positive but people couldn't agree on the specific syntax.<div class=""><br class=""></div><div class="">I pushed a little bit for CollectionType on these, regardless of the type syntax (could have been (Int, Int, Int, Int, Int) for all I was concerned), but there were apparently important implementation challenges stemming from tuples being non-nominal types.</div><div class=""><br class=""></div><div class=""><a href="https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160208/009682.html" class="">https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160208/009682.html</a></div><div class=""><br class=""></div><div class="">I would like to revive this discussion, but I'm afraid that we're getting late for the Swift 3 release.</div></div></div></blockquote></div><br class=""><div class="">From a quick look, the previous threads’ tuple-array quasi-equivalence would work for one-dimensional arrays, but I want to go beyond what C has and do multi-dimensional arrays too (co-equal coordinates, not just C’s nested arrays). Of course a non-linear structure brings questions on how to visit/traverse every element; the existing sequence and collection protocols assume linearity, as well as the “for” statements that use said conforming types.</div><div class=""><br class=""></div><div class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">— </div><div class="">Daryle Walker<br class="">Mac, Internet, and Video Game Junkie<br class="">darylew AT mac DOT com </div></div></div><br class=""><div><blockquote type="cite" class=""></blockquote></div></div></body></html>