mirror of
https://github.com/apple/swift-algorithms
synced 2026-11-22 04:10:39 +00:00
* Finish sub-page documentation updates Some of these pages could use introductions, but the current state is ready for publication. * Add SPI yaml file for building docs
876 B
876 B
Slicing and Splitting
Iterate over tuple pairs of adjacent elements, overlapping windows of a specified size, or lazily-calculated splits.
Topics
Adjacent Pairs
Swift/Sequence/adjacentPairs()Swift/Collection/adjacentPairs()
Windows
Swift/Collection/windows(ofCount:)
Lazily Splitting a Collection
Swift/LazySequenceProtocol/split(separator:maxSplits:omittingEmptySubsequences:)-4q4x8Swift/LazySequenceProtocol/split(maxSplits:omittingEmptySubsequences:whereSeparator:)-68oqfSwift/LazySequenceProtocol/split(separator:maxSplits:omittingEmptySubsequences:)-a46sSwift/LazySequenceProtocol/split(maxSplits:omittingEmptySubsequences:whereSeparator:)-3rwee
Supporting Types
AdjacentPairsSequenceAdjacentPairsCollectionWindowsOfCountCollectionSplitSequenceSplitCollection