Files
Nate Cook f6919dfc30 Documentation improvements
- Restructure the project README, moving the list of guides into a
README in the `Guides` directory
- Curate the `keyed(by:)` and `grouped(by:)` methods
2023-11-14 21:50:39 -06:00

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:)