Code examples for my article "Scala Collections Tips and Tricks"
Scala
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
maps
options
sequences
sets
README.md
composition.scala
side-effects.scala

README.md

Collections README

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