 extension Sequence {
     
     @inlinable
-    func map<T>(_ transform: @escaping (Element) async -> T) -> AsyncMapSequence<_AsyncSequenceBox<Self>, T> {
+    public func map<T>(_ transform: @escaping (Element) async -> T) -> AsyncMapSequence<_AsyncSequenceBox<Self>, T> {
         return _AsyncSequenceBox(self).map(transform)
     }
     
     @inlinable
-    func map<T>(_ transform: @escaping (Element) async throws -> T) -> AsyncThrowingMapSequence<_AsyncSequenceBox<Self>, T> {
+    public func map<T>(_ transform: @escaping (Element) async throws -> T) -> AsyncThrowingMapSequence<_AsyncSequenceBox<Self>, T> {
         return _AsyncSequenceBox(self).map(transform)
     }
     
     @inlinable
-    func filter(_ isIncluded: @escaping (Element) async -> Bool) -> AsyncFilterSequence<_AsyncSequenceBox<Self>> {
+    public func filter(_ isIncluded: @escaping (Element) async -> Bool) -> AsyncFilterSequence<_AsyncSequenceBox<Self>> {
         return _AsyncSequenceBox(self).filter(isIncluded)
     }
     
     @inlinable
-    func filter(_ isIncluded: @escaping (Element) async throws -> Bool) -> AsyncThrowingFilterSequence<_AsyncSequenceBox<Self>> {
+    public func filter(_ isIncluded: @escaping (Element) async throws -> Bool) -> AsyncThrowingFilterSequence<_AsyncSequenceBox<Self>> {
         return _AsyncSequenceBox(self).filter(isIncluded)
     }
     

        self.base = base
    }
    
    @inlinable
    func makeAsyncIterator() -> AsyncIterator {
        return AsyncIterator(base)
    }
    
    @frozen
    @usableFromInline
    struct AsyncIterator: AsyncIteratorProtocol {
        
        @usableFromInline
        var base: S.Iterator

extension AsyncSequence {
    
    @inlinable
    public func collect() async rethrows -> [Element] {
        return try await self.reduce(into: []) { $0.append($1) }
    }
}

@frozen
@available(macOS 12, iOS 15, watchOS 8, tvOS 15, *)
public struct _AsyncSequenceBox<S: Sequence>: AsyncSequence {
    
    public typealias Element = S.Element
    
    @usableFromInline
    let base: S
