[swift-evolution] Proposal: Allow comparisons of arrays possibly containing nil

Amir Michail a.michail at me.com
Fri Jan 1 11:32:13 CST 2016


Example:

[Int?]([1,2,nil]) == [Int?]([1,2,nil])

This currently results in: “binary operator '==' cannot be applied to two '[Int?]' operands"


More information about the swift-evolution mailing list