Code examples for my article Scala Collections Tips and Tricks (simplifications and optimizations of typical Scala Collections API usages).
Composition
Side effects
Sequences:
- Creation
- Length
- Equality
- Indexing
- Existence
- Filtering
- Sorting
- Reduction
- Matching
- Rewriting
Sets:
- Sets
Options:
- Value
- Null
- Processing
- Rewriting
Maps:
- Maps
Pavel Fatin, https://pavelfatin.com