Skip to content

Commit 887ad4a

Browse files
committed
ChangeLog entry for partial SE-0143 adoption for Optional, Array, Dictionary.
1 parent 208b2c1 commit 887ad4a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ CHANGELOG
2222
Swift 4.1
2323
---------
2424

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+
2532
* [SE-0157][] is implemented. Associated types can now declare "recursive"
2633
constraints, which require that the associated type conform to the enclosing
2734
protocol. The standard library protocols have been updated to make use of

0 commit comments

Comments
 (0)