Structureswift-algorithms 1.2.1Algorithms
Iterator
Joined.swift:38struct Iterator
struct Iterator
import Algorithms
Swift Algorithms is an open-source package of sequence and collection algorithms, along with their related types.
struct JoinedBySequence<Base, Separator> where Base : Sequence, Separator : Sequence, Base.Element : Sequence, Separator.Element == Base.Element.Element
A sequence that presents the elements of a base sequence of sequences concatenated using a given separator.
protocol Sequence<Element>
A type that provides sequential, iterated access to its elements.
func makeIterator() -> Iterator
protocol IteratorProtocol<Element>
A type that supplies the values of a sequence one at a time.
mutating func next() -> Base.Element.Element?