Skip to content

Commit 00ab221

Browse files
committed
Clean up old evolution proposals
# Motivation Our old proposals had a couple of stale links and were not all aligned. This cleans them up.
1 parent e6b21d2 commit 00ab221

10 files changed

+22
-28
lines changed

Evolution/0001-zip.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
* Proposal: [SAA-0001](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0001-zip.md)
44
* Authors: [Philippe Hausler](https://github.com/phausler)
5-
* Status: **Implemented**
5+
* Status: **Accepted**
66

7-
* Implementation: [[Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncZip2Sequence.swift), [Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncZip3Sequence.swift) |
7+
* Implementation: [[Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Zip/AsyncZip2Sequence.swift), [Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Zip/AsyncZip3Sequence.swift) |
88
[Tests](https://github.com/apple/swift-async-algorithms/blob/main/Tests/AsyncAlgorithmsTests/TestZip.swift)]
99
* Decision Notes:
1010
* Bugs:
@@ -45,8 +45,7 @@ public func zip<Base1: AsyncSequence, Base2: AsyncSequence, Base3: AsyncSequence
4545
public struct AsyncZip2Sequence<Base1: AsyncSequence, Base2: AsyncSequence>: Sendable
4646
where
4747
Base1: Sendable, Base2: Sendable,
48-
Base1.Element: Sendable, Base2.Element: Sendable,
49-
Base1.AsyncIterator: Sendable, Base2.AsyncIterator: Sendable {
48+
Base1.Element: Sendable, Base2.Element: Sendable {
5049
public typealias Element = (Base1.Element, Base2.Element)
5150

5251
public struct Iterator: AsyncIteratorProtocol {
@@ -59,8 +58,7 @@ public struct AsyncZip2Sequence<Base1: AsyncSequence, Base2: AsyncSequence>: Sen
5958
public struct AsyncZip3Sequence<Base1: AsyncSequence, Base2: AsyncSequence, Base3: AsyncSequence>: Sendable
6059
where
6160
Base1: Sendable, Base2: Sendable, Base3: Sendable
62-
Base1.Element: Sendable, Base2.Element: Sendable, Base3.Element: Sendable
63-
Base1.AsyncIterator: Sendable, Base2.AsyncIterator: Sendable, Base3.AsyncIterator: Sendable {
61+
Base1.Element: Sendable, Base2.Element: Sendable, Base3.Element: Sendable {
6462
public typealias Element = (Base1.Element, Base2.Element, Base3.Element)
6563

6664
public struct Iterator: AsyncIteratorProtocol {

Evolution/0002-merge.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
* Proposal: [SAA-0002](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0002-merge.md)
44
* Authors: [Philippe Hausler](https://github.com/phausler)
5-
* Status: **Implemented**
5+
* Status: **Accepted**
66

7-
* Implementation: [[Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Asyncmerge2Sequence.swift), [Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncMerge3Sequence.swift) |
7+
* Implementation: [[Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Merge/AsyncMerge2Sequence.swift), [Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Merge/AsyncMerge3Sequence.swift) |
88
[Tests](https://github.com/apple/swift-async-algorithms/blob/main/Tests/AsyncAlgorithmsTests/TestMerge.swift)]
99
* Decision Notes:
1010
* Bugs:
@@ -46,8 +46,7 @@ public struct AsyncMerge2Sequence<Base1: AsyncSequence, Base2: AsyncSequence>: S
4646
where
4747
Base1.Element == Base2.Element,
4848
Base1: Sendable, Base2: Sendable,
49-
Base1.Element: Sendable, Base2.Element: Sendable,
50-
Base1.AsyncIterator: Sendable, Base2.AsyncIterator: Sendable {
49+
Base1.Element: Sendable, Base2.Element: Sendable {
5150
public typealias Element = Base1.Element
5251

5352
public struct Iterator: AsyncIteratorProtocol {
@@ -61,8 +60,7 @@ public struct AsyncMerge3Sequence<Base1: AsyncSequence, Base2: AsyncSequence, Ba
6160
where
6261
Base1.Element == Base2.Element, Base1.Element == Base3.Element,
6362
Base1: Sendable, Base2: Sendable, Base3: Sendable
64-
Base1.Element: Sendable, Base2.Element: Sendable, Base3.Element: Sendable
65-
Base1.AsyncIterator: Sendable, Base2.AsyncIterator: Sendable, Base3.AsyncIterator: Sendable {
63+
Base1.Element: Sendable, Base2.Element: Sendable, Base3.Element: Sendable {
6664
public typealias Element = Base1.Element
6765

6866
public struct Iterator: AsyncIteratorProtocol {

Evolution/0003-compacted.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Compacted
22

3-
* Proposal: [0003](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0003-compacted.md)
3+
* Proposal: [SAA-0003](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0003-compacted.md)
44
* Authors: [Philippe Hausler](https://github.com/phausler)
5-
* Status: **Implemented**
5+
* Status: **Accepted**
66

77
* Implementation: [Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncCompactedSequence.swift)
88
[Tests](https://github.com/apple/swift-async-algorithms/blob/main/Tests/AsyncAlgorithmsTests/TestCompacted.swift)

Evolution/0004-joined.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Proposal: [SAA-0004](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0004-joined.md)
44
* Authors: [Philippe Hausler](https://github.com/phausler)
55
* Review Manager: [Franz Busch](https://github.com/FranzBusch)
6-
* Status: **Implemented**
6+
* Status: **Accepted**
77

88
* Implementation: [[Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncJoinedSequence.swift) |
99
[Tests](https://github.com/apple/swift-async-algorithms/blob/main/Tests/AsyncAlgorithmsTests/TestJoin.swift)]

Evolution/0005-adjacent-pairs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Proposal: [SAA-0005](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0005-adjacent-pairs.md)
44
* Author(s): [László Teveli](https://github.com/tevelee)
55
* Review Manager: [Philippe Hausler](https://github.com/phausler)
6-
* Status: **Implemented**
6+
* Status: **Accepted**
77
* Implementation: [[Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncAdjacentPairsSequence.swift) |
88
[Tests](https://github.com/apple/swift-async-algorithms/blob/main/Tests/AsyncAlgorithmsTests/TestAdjacentPairs.swift)]
99
* Decision Notes:

Evolution/0006-combineLatest.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
* Proposal: [SAA-0006](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0006-combineLatest.md)
44
* Authors: [Philippe Hausler](https://github.com/phausler)
5-
* Status: **Implemented**
5+
* Status: **Accepted**
66

77

8-
* Implementation: [[Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncCombineLatest2Sequence.swift), [Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncCombineLatest3Sequence.swift) |
8+
* Implementation: [[Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/CombineLatest/AsyncCombineLatest2Sequence.swift), [Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/CombineLatest/AsyncCombineLatest3Sequence.swift) |
99
[Tests](https://github.com/apple/swift-async-algorithms/blob/main/Tests/AsyncAlgorithmsTests/TestCombineLatest.swift)]
1010

1111
* Decision Notes:
@@ -47,8 +47,7 @@ public func combineLatest<Base1: AsyncSequence, Base2: AsyncSequence, Base3: Asy
4747
public struct AsyncCombineLatest2Sequence<Base1: AsyncSequence, Base2: AsyncSequence>: Sendable
4848
where
4949
Base1: Sendable, Base2: Sendable,
50-
Base1.Element: Sendable, Base2.Element: Sendable,
51-
Base1.AsyncIterator: Sendable, Base2.AsyncIterator: Sendable {
50+
Base1.Element: Sendable, Base2.Element: Sendable {
5251
public typealias Element = (Base1.Element, Base2.Element)
5352

5453
public struct Iterator: AsyncIteratorProtocol {
@@ -61,8 +60,7 @@ public struct AsyncCombineLatest2Sequence<Base1: AsyncSequence, Base2: AsyncSequ
6160
public struct AsyncCombineLatest3Sequence<Base1: AsyncSequence, Base2: AsyncSequence, Base3: AsyncSequence>: Sendable
6261
where
6362
Base1: Sendable, Base2: Sendable, Base3: Sendable
64-
Base1.Element: Sendable, Base2.Element: Sendable, Base3.Element: Sendable
65-
Base1.AsyncIterator: Sendable, Base2.AsyncIterator: Sendable, Base3.AsyncIterator: Sendable {
63+
Base1.Element: Sendable, Base2.Element: Sendable, Base3.Element: Sendable {
6664
public typealias Element = (Base1.Element, Base2.Element, Base3.Element)
6765

6866
public struct Iterator: AsyncIteratorProtocol {

Evolution/0007-chain.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
* Proposal: [SAA-0007](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0007-chain.md)
44
* Authors: [Philippe Hausler](https://github.com/phausler)
5-
* Status: **Implemented**
5+
* Status: **Accepted**
66
* Implementation: [[Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncChain2Sequence.swift), [Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncChain3Sequence.swift) |
77
[Tests](https://github.com/apple/swift-async-algorithms/blob/main/Tests/AsyncAlgorithmsTests/TestChain.swift)]
88

Evolution/0008-bytes.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
* Proposal: [SAA-0008](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0008-bytes.md)
44
* Authors: [David Smith](https://github.com/Catfish-Man), [Philippe Hausler](https://github.com/phausler)
5-
* Status: **Implemented**
5+
* Status: **Accepted**
66
* Implementation: [[Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncBufferedByteIterator.swift) |
77
[Tests](https://github.com/apple/swift-async-algorithms/blob/main/Tests/AsyncAlgorithmsTests/TestBufferedByteIterator.swift)]
88

@@ -33,7 +33,7 @@ struct AsyncBytes: AsyncSequence {
3333
## Detailed Design
3434

3535
```swift
36-
public struct AsyncBufferedByteIterator: AsyncIteratorProtocol, Sendable {
36+
public struct AsyncBufferedByteIterator: AsyncIteratorProtocol {
3737
public typealias Element = UInt8
3838

3939
public init(

0009-async.md Evolution/0009-async.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AsyncSyncSequence
22

3-
* Proposal: [NNNN](NNNN-lazy.md)
3+
* Proposal: [SAA-0010](NNNN-lazy.md)
44
* Authors: [Philippe Hausler](https://github.com/phausler)
55
* Status: **Implemented**
66

Evolution/0009-buffer.md Evolution/0010-buffer.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Buffer
22

3-
* Proposal: [SAA-0009](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0009-buffer.md)
3+
* Proposal: [SAA-0010](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0009-buffer.md)
44
* Author(s): [Thibault Wittemberg](https://github.com/twittemb)
5-
* Status: **Implemented**
5+
* Status: **Accepted**
66
* Implementation: [
77
[Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Buffer/AsyncBufferSequence.swift) |
88
[Tests](https://github.com/apple/swift-async-algorithms/blob/main/Tests/AsyncAlgorithmsTests/TestBuffer.swift)

0 commit comments

Comments
 (0)