mirror of
https://github.com/apple/swift-algorithms
synced 2026-11-24 04:17:48 +00:00
22 lines
363 B
Markdown
22 lines
363 B
Markdown
# Extending
|
|
|
|
Chain two collections end-to-end,
|
|
or repeat a collection forever or a specific number of times.
|
|
|
|
## Topics
|
|
|
|
### Chaining Two Collections
|
|
|
|
- ``chain(_:_:)``
|
|
|
|
### Cycling a Collection
|
|
|
|
- ``Swift/Collection/cycled()``
|
|
- ``Swift/Collection/cycled(times:)``
|
|
|
|
### Supporting Types
|
|
|
|
- ``Chain2Sequence``
|
|
- ``CycledSequence``
|
|
- ``CycledTimesCollection``
|