ZipToLongest2Sequence
public struct ZipToLongest2Sequence <Sequence1: Sequence, Sequence2: Sequence>
: IteratorProtocol, Sequence
Lazy sequence zipping two Sequence
values together to the longest of the two sequences,
filling in the others with the given fill1
, and fill2
values.
-
Declaration
Swift
public mutating func next() -> (Sequence1.Element, Sequence2.Element)?