Supporting Types
Use wrappers, indices, and iterators in operations like slicing, flattening, and reversing a collection.
Topics
Slices
Range Expressions
Type-Erasing Wrappers
AnySequenceAnyCollectionAnyBidirectionalCollectionAnyRandomAccessCollectionAnyIteratorAnyIndexAnyHashable
Lazy Wrappers
LazySequenceLazyMapSequenceLazyFilterSequenceLazyPrefixWhileSequenceLazyDropWhileSequenceLazyCollectionLazyDropWhileCollectionLazyFilterCollectionLazyMapCollectionLazyPrefixWhileCollection
Wrappers for Algorithms
CollectionDifferenceDropFirstSequenceDropWhileSequenceEnumeratedSequenceFlattenCollectionFlattenSequenceJoinedSequencePrefixSequenceRepeatedReversedCollectionStrideToStrideThroughUnfoldSequenceZip2Sequence