Skip to content

Instantly share code, notes, and snippets.

@wrobstory
Created September 7, 2014 00:13
Show Gist options
  • Save wrobstory/934f9a261e1955a775ca to your computer and use it in GitHub Desktop.
Save wrobstory/934f9a261e1955a775ca to your computer and use it in GitHub Desktop.
Scala Equality
scala> Array(1, 2, 3) == Array(1, 2, 3)
res0: Boolean = false
scala> Vector(1, 2, 3) == Vector(1, 2, 3)
res1: Boolean = true
scala> List(1, 2, 3) == List(1, 2, 3)
res2: Boolean = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment