mirror of
https://github.com/apple/swift-algorithms
synced 2026-11-24 04:17:48 +00:00
- Restructure the project README, moving the list of guides into a README in the `Guides` directory - Curate the `keyed(by:)` and `grouped(by:)` methods
325 B
325 B
Keying and Grouping
Convert a sequence to a dictionary, providing keys to individual elements or to use as grouping values.
Topics
Creating a Keyed Dictionary
Swift/Sequence/keyed(by:)Swift/Sequence/keyed(by:resolvingConflictsWith:)
Grouping Elements by Key
Swift/Sequence/grouped(by:)