mirror of
https://github.com/apple/swift.git
synced 2026-10-26 20:15:53 +01:00
This PR updates files in the `stdlib.docc` directory to provide curation for symbols added to the standard library in release 6.4, including task cancellation shields and refs. The [stdlib documentation on docs.swift.org](https://docs.swift.org/latest/documentation/swift) uses these files to organize the online documentation into topics. This PR doesn't affect any compilable source. It's only for the use of the `docc` compiler to produce documentation, either in swift.org's CI or if someone wants to generate a local copy. rdar://181594680
39 lines
709 B
Markdown
39 lines
709 B
Markdown
# Sequence and Collection Protocols
|
|
|
|
Write generic code that works with any collection, or build your own collection types.
|
|
|
|
## Topics
|
|
|
|
### First Steps
|
|
|
|
- ``Swift/IteratorProtocol``
|
|
- ``Swift/Sequence``
|
|
- ``Swift/Collection``
|
|
|
|
### Collection Traversal
|
|
|
|
- ``Swift/BidirectionalCollection``
|
|
- ``Swift/RandomAccessCollection``
|
|
|
|
### Collection Mutability
|
|
|
|
- ``Swift/MutableCollection``
|
|
- ``Swift/RangeReplaceableCollection``
|
|
|
|
### Borrowing Iteration
|
|
|
|
- ``Swift/Iterable``
|
|
- ``Swift/BorrowingIteratorProtocol``
|
|
- ``Swift/BorrowingIteratorAdapter``
|
|
- ``Swift/BorrowingSequence``
|
|
|
|
### Algebraic Sets
|
|
|
|
- ``Swift/SetAlgebra``
|
|
|
|
### Lazy Collections
|
|
|
|
- ``Swift/LazySequenceProtocol``
|
|
- ``Swift/LazyCollectionProtocol``
|
|
|