Files
swift-mirror/stdlib/stdlib.docc/sequence-and-collection-protocols.md
Chris Adamson d0d078517a Update stdlib DocC curation for 6.4 symbols. (#92405)
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
2026-10-01 14:21:26 -07:00

709 B

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