<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="">The proposal draft&nbsp;<a href="https://github.com/apple/swift-evolution/pull/290" class="">on Github</a>&nbsp;is now live.<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 4, 2016, at 12:13 AM, Developer &lt;<a href="mailto:devteam.codafi@gmail.com" class="">devteam.codafi@gmail.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="">I’ve been contemplating this idea for a while now, mostly because I think it’s a very important feature, but also because I can’t find a single example of a programming language getting it completely right. &nbsp;In Swift, the motif of tuples throughout the language would lead one to think that they have some kind of special status in the language. &nbsp;Yet, tuples are an opaque concept exposed by the compiler to the end user with no opportunity for extension. &nbsp;Languages that have tried to expose tuples to their users for extension have done so in less than ideal ways (see Tuple1-Tuple22&nbsp;<a href="https://github.com/scala/scala/blob/2.12.x/src/library/scala/Tuple22.scala" class="">Scala</a>,&nbsp;<a href="https://github.com/ghc/ghc/blob/master/libraries/ghc-prim/GHC/Tuple.hs" class="">Haskell</a>’s hard limit on tuples,&nbsp;<a href="https://doc.rust-lang.org/std/primitive.tuple.html" class="">Rust</a>’s limitations for std::tuple), yet each implementation has something to offer a possible Swift implementation. &nbsp;I see only one course of action that will bring us extensible tuples in a manner that is compatible with Swift and its overall design philosophy. &nbsp;To that end, I have drawn up a&nbsp;<a href="https://gist.github.com/CodaFi/18b70633b03e19161402ae3579c072b7" class="">draft proposal</a>&nbsp;for generic tuple extensions that I will submit to swift-evolution shortly. &nbsp;<div class=""><br class=""></div><div class="">All the best,</div><div class=""><br class=""></div><div class="">~Robert Widmann<br class=""><div class=""><div class=""><br class=""></div><div class=""><br class=""></div></div></div></div></div></blockquote></div><br class=""></div></body></html>