Skip to content

Commit bdc64a3

Browse files
[SE-0459] Fix metadata of enumerated() proposal (#2671)
1 parent 134c1d9 commit bdc64a3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

proposals/0459-enumerated-collection.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Add `Collection` conformances for `enumerated()`
22

3-
* Previous proposal: [SE-0312](0312-indexed-and-enumerated-zip-collections.md)
3+
* Proposal: [SE-0459](0459-enumerated-collection.md)
44
* Author: [Alejandro Alonso](https://github.com/Azoy)
55
* Review Manager: [Ben Cohen](https://github.com/airspeedswift)
6-
* Status: **Active Review (28 Jan - February 7 2025)**
7-
* Implementation: [apple/swift#78092](https://github.com/swiftlang/swift/pull/78092)
6+
* Status: **Active review (January 28 – February 7, 2025)**
7+
* Implementation: [swiftlang/swift#78092](https://github.com/swiftlang/swift/pull/78092)
8+
* Previous Proposal: [SE-0312](0312-indexed-and-enumerated-zip-collections.md)
9+
* Review: ([pitch](https://forums.swift.org/t/pitch-add-collection-conformance-for-enumeratedsequence/76680)) ([review](https://forums.swift.org/t/se-0459-add-collection-conformances-for-enumerated/77509))
810

911
## Introduction
1012

1113
This proposal aims to fix the lack of `Collection` conformance of the sequence returned by `enumerated()`, preventing it from being used in a context that requires a `Collection`.
1214

13-
Swift-evolution thread: [Pitch](https://forums.swift.org/t/pitch-add-indexed-and-collection-conformances-for-enumerated-and-zip/47288)
14-
1515
## Motivation
1616

1717
Currently, `EnumeratedSequence` type conforms to `Sequence`, but not to any of the collection protocols. Adding these conformances was impossible before [SE-0234 Remove `Sequence.SubSequence`](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0234-remove-sequence-subsequence.md), and would have been an ABI breaking change before the language allowed `@available` annotations on protocol conformances ([PR](https://github.com/apple/swift/pull/34651)). Now we can add them!

0 commit comments

Comments
 (0)