Type Aliasswift 6.1.2Swift
Iterator
typealias Iterator = Base.Iteratortypealias Iterator = Base.Iteratorwhere Base:Sequenceimport Swift@frozen struct LazySequence<Base> where Base : SequenceA sequence containing the same elements as a Base sequence, but on which some operations such as map and filter are implemented lazily.
associatedtype Iterator : IteratorProtocolA type that provides the sequence’s iteration interface and encapsulates its iteration state.
protocol Sequence<Element>A type that provides sequential, iterated access to its elements.
var elements: LazySequence<Base>.Elements { get }The Base (presumably non-lazy) sequence from which self was created.
var underestimatedCount: Int { get }func makeIterator() -> LazySequence<Base>.Iterator typealias Element = Base.Elementtypealias Elements = Base