diff --git a/Evolution/0001-zip.md b/Evolution/0001-zip.md index 1ba48205..2e1885c5 100644 --- a/Evolution/0001-zip.md +++ b/Evolution/0001-zip.md @@ -2,9 +2,9 @@ * Proposal: [SAA-0001](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0001-zip.md) * Authors: [Philippe Hausler](https://github.com/phausler) -* Status: **Implemented** +* Status: **Accepted** -* 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) | +* 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) | [Tests](https://github.com/apple/swift-async-algorithms/blob/main/Tests/AsyncAlgorithmsTests/TestZip.swift)] * Decision Notes: * Bugs: @@ -45,8 +45,7 @@ public func zip: Sendable where Base1: Sendable, Base2: Sendable, - Base1.Element: Sendable, Base2.Element: Sendable, - Base1.AsyncIterator: Sendable, Base2.AsyncIterator: Sendable { + Base1.Element: Sendable, Base2.Element: Sendable { public typealias Element = (Base1.Element, Base2.Element) public struct Iterator: AsyncIteratorProtocol { @@ -59,8 +58,7 @@ public struct AsyncZip2Sequence: Sen public struct AsyncZip3Sequence: Sendable where Base1: Sendable, Base2: Sendable, Base3: Sendable - Base1.Element: Sendable, Base2.Element: Sendable, Base3.Element: Sendable - Base1.AsyncIterator: Sendable, Base2.AsyncIterator: Sendable, Base3.AsyncIterator: Sendable { + Base1.Element: Sendable, Base2.Element: Sendable, Base3.Element: Sendable { public typealias Element = (Base1.Element, Base2.Element, Base3.Element) public struct Iterator: AsyncIteratorProtocol { diff --git a/Evolution/0002-merge.md b/Evolution/0002-merge.md index ff15f23d..b3dacfc5 100644 --- a/Evolution/0002-merge.md +++ b/Evolution/0002-merge.md @@ -2,9 +2,9 @@ * Proposal: [SAA-0002](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0002-merge.md) * Authors: [Philippe Hausler](https://github.com/phausler) -* Status: **Implemented** +* Status: **Accepted** -* 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) | +* 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) | [Tests](https://github.com/apple/swift-async-algorithms/blob/main/Tests/AsyncAlgorithmsTests/TestMerge.swift)] * Decision Notes: * Bugs: @@ -46,8 +46,7 @@ public struct AsyncMerge2Sequence: S where Base1.Element == Base2.Element, Base1: Sendable, Base2: Sendable, - Base1.Element: Sendable, Base2.Element: Sendable, - Base1.AsyncIterator: Sendable, Base2.AsyncIterator: Sendable { + Base1.Element: Sendable, Base2.Element: Sendable { public typealias Element = Base1.Element public struct Iterator: AsyncIteratorProtocol { @@ -61,8 +60,7 @@ public struct AsyncMerge3Sequence: Sendable where Base1: Sendable, Base2: Sendable, - Base1.Element: Sendable, Base2.Element: Sendable, - Base1.AsyncIterator: Sendable, Base2.AsyncIterator: Sendable { + Base1.Element: Sendable, Base2.Element: Sendable { public typealias Element = (Base1.Element, Base2.Element) public struct Iterator: AsyncIteratorProtocol { @@ -61,8 +60,7 @@ public struct AsyncCombineLatest2Sequence: Sendable where Base1: Sendable, Base2: Sendable, Base3: Sendable - Base1.Element: Sendable, Base2.Element: Sendable, Base3.Element: Sendable - Base1.AsyncIterator: Sendable, Base2.AsyncIterator: Sendable, Base3.AsyncIterator: Sendable { + Base1.Element: Sendable, Base2.Element: Sendable, Base3.Element: Sendable { public typealias Element = (Base1.Element, Base2.Element, Base3.Element) public struct Iterator: AsyncIteratorProtocol { diff --git a/Evolution/0007-chain.md b/Evolution/0007-chain.md index 8df4804f..df2aa7c1 100644 --- a/Evolution/0007-chain.md +++ b/Evolution/0007-chain.md @@ -2,7 +2,7 @@ * Proposal: [SAA-0007](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0007-chain.md) * Authors: [Philippe Hausler](https://github.com/phausler) -* Status: **Implemented** +* Status: **Accepted** * 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) | [Tests](https://github.com/apple/swift-async-algorithms/blob/main/Tests/AsyncAlgorithmsTests/TestChain.swift)] diff --git a/Evolution/0008-bytes.md b/Evolution/0008-bytes.md index 76e2f3a0..50e2cf28 100644 --- a/Evolution/0008-bytes.md +++ b/Evolution/0008-bytes.md @@ -2,7 +2,7 @@ * Proposal: [SAA-0008](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0008-bytes.md) * Authors: [David Smith](https://github.com/Catfish-Man), [Philippe Hausler](https://github.com/phausler) -* Status: **Implemented** +* Status: **Accepted** * Implementation: [[Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncBufferedByteIterator.swift) | [Tests](https://github.com/apple/swift-async-algorithms/blob/main/Tests/AsyncAlgorithmsTests/TestBufferedByteIterator.swift)] @@ -33,7 +33,7 @@ struct AsyncBytes: AsyncSequence { ## Detailed Design ```swift -public struct AsyncBufferedByteIterator: AsyncIteratorProtocol, Sendable { +public struct AsyncBufferedByteIterator: AsyncIteratorProtocol { public typealias Element = UInt8 public init( diff --git a/0009-async.md b/Evolution/0009-async.md similarity index 94% rename from 0009-async.md rename to Evolution/0009-async.md index 897e57b8..a29984ab 100644 --- a/0009-async.md +++ b/Evolution/0009-async.md @@ -1,6 +1,6 @@ # AsyncSyncSequence -* Proposal: [NNNN](NNNN-lazy.md) +* Proposal: [SAA-0009](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0009-async.md) * Authors: [Philippe Hausler](https://github.com/phausler) * Status: **Implemented** diff --git a/Evolution/0009-buffer.md b/Evolution/0010-buffer.md similarity index 98% rename from Evolution/0009-buffer.md rename to Evolution/0010-buffer.md index 0e2b2fd4..da56def7 100644 --- a/Evolution/0009-buffer.md +++ b/Evolution/0010-buffer.md @@ -1,8 +1,8 @@ # Buffer -* Proposal: [SAA-0009](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0009-buffer.md) +* Proposal: [SAA-0010](https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0010-buffer.md) * Author(s): [Thibault Wittemberg](https://github.com/twittemb) -* Status: **Implemented** +* Status: **Accepted** * Implementation: [ [Source](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/Buffer/AsyncBufferSequence.swift) | [Tests](https://github.com/apple/swift-async-algorithms/blob/main/Tests/AsyncAlgorithmsTests/TestBuffer.swift)