let a: [(Int, Int)] = [(1, 2), (3, 4)] a.contains((3, 4)) // no! // error: cannot convert value of type '(Int, Int)' // to expected argument type '@noescape ((Int, Int)) throws -> Bool'
let a: [(Int, Int)] = [(1, 2), (3, 4)] a.contains({ $0 == (3, 4) }) // yes!
Tuples can’t conform to protocols, so they don’t count as Equatable.