<div dir="ltr">Does this work for now?<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">func ==&lt;T : Equatable&gt;(lhs:[T?], rhs: [T?]) -&gt; Bool {<br>    let zipped = Zip2Sequence(lhs, rhs)<br><br>    return zipped.reduce(true) { (old, tuple) in<br>        old &amp;&amp; (tuple.0 == tuple.1)<br>    }<br>}</blockquote></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 1, 2016 at 12:32 PM, Amir Michail via swift-evolution <span dir="ltr">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Example:<br>
<br>
[Int?]([1,2,nil]) == [Int?]([1,2,nil])<br>
<br>
This currently results in: “binary operator &#39;==&#39; cannot be applied to two &#39;[Int?]&#39; operands&quot;<br>
_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
</blockquote></div><br></div>