Is it ok to compare pair of Seq in Scala using ==?
<p>Consider the following code:</p>

<pre><code>case class Foo(foo:Long, bar:Long)

type Bar = (Seq[Foo], Seq[Foo])

val a:Bar = (Seq(Foo(1, 2), Foo(2, 3)), Seq(Foo(3, 4), Foo(5, 6))) 

val b:Bar = (Seq(Foo(1, 2), Foo(3, 4)), Seq(Foo(3, 4))) 

val c:Bar = (Seq(Foo(1, 2), Foo(2, 3)), Seq(Foo(3, 4), Foo(5, 6))) 

a == b // false

a == c // true
</code></pre>

<p>How and why does this work? 
It seems to work as expected. Should I continue using it?</p>

<p>EDIT: I am not trying to define a new operator. My question is why the above works as expected rather than me having to define a new one. So the question is kind of "opposite" to the one linked.</p>