We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 208b2c1 commit 887ad4aCopy full SHA for 887ad4a
CHANGELOG.md
@@ -22,6 +22,13 @@ CHANGELOG
22
Swift 4.1
23
---------
24
25
+* [SE-0143][] The standard library types `Optional`, `Array`, and
26
+ `Dictionary` now conform to the `Equatable` protocol when their element types
27
+ conform to `Equatable`. This allows the `==` operator to compose (e.g., one
28
+ can compare two values of type `[Int : [Int?]?]` with `==`), as well as use
29
+ various algorthims defined for `Equatable` element types, such as
30
+ `index(of:)`.
31
+
32
* [SE-0157][] is implemented. Associated types can now declare "recursive"
33
constraints, which require that the associated type conform to the enclosing
34
protocol. The standard library protocols have been updated to make use of
0 commit comments