IteratorSequence
A sequence built around an iterator of type Base.
Declaration
@frozen struct IteratorSequence<Base> where Base : IteratorProtocolOverview
Useful mostly to recover the ability to use for…in, given just an iterator i:
for x in IteratorSequence(i) { ... }