<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On Dec 7, 2015, at 12:01 PM, Dmitri Gribenko via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:<br class=""><div><blockquote type="cite" class=""><span style="font-family: menlo, consolas, 'courier new', monospace, sans-serif;" class="">func &gt; &lt;A: Comparable, B: Comparable, C: Comparable&gt;(lhs: (A, B, C), rhs: (A, B, C)) -&gt; Bool {</span><br class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
<div class=""><span style="font-family:menlo,consolas,&quot;courier new&quot;,monospace,sans-serif" class="">&nbsp; &nbsp; if lhs.0 != rhs.0 { return lhs.0 &gt; rhs.0 }</span><span style="font-family:menlo,consolas,&quot;courier new&quot;,monospace,sans-serif" class=""><br class=""></span></div>
<div class=""><span style="font-family:menlo,consolas,&quot;courier new&quot;,monospace,sans-serif" class="">&nbsp; &nbsp; if lhs.1 != rhs.1 { return lhs.1 &gt; rhs.1 }</span><span style="font-family:menlo,consolas,&quot;courier new&quot;,monospace,sans-serif" class=""><br class=""></span></div>
<div class=""><span style="font-family:menlo,consolas,&quot;courier new&quot;,monospace,sans-serif" class="">&nbsp; &nbsp; return lhs.2 &gt; rhs.2</span><span style="font-family:menlo,consolas,&quot;courier new&quot;,monospace,sans-serif" class=""><br class=""></span></div>
<div class=""><span style="font-family:menlo,consolas,&quot;courier new&quot;,monospace,sans-serif" class="">}</span></div></div></blockquote><div class=""><br class=""></div><div class="">Looks like a good idea to me!&nbsp; Also the &lt;= and &gt;= operators, right?</div></div></div></div></div></blockquote><div><br class=""></div>+1 from me too.</div><div><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><div class="">I personally don't see a point in going as high as 12 tuple elements.&nbsp; About 4 or 5 makes sense to me.&nbsp; Given that Swift does not have variadic generics right now, these long tuples have to be defined by someone manually.&nbsp; If one is defining a tuple that is that long, I'd argue that they should be using a custom struct instead.</div></div></div></div></blockquote><br class=""></div><div>I tend to agree with Dmitri here. &nbsp;Independent of the code size concern, what is the expected use-case for &gt; 4 element tuples?</div><div><br class=""></div><div>-Chris</div><br class=""></body></html>