Collections - Concrete Immutable Collection Classes - Scala Documentation

Scala provides many concrete immutable collection classes for you to choose from. They differ in the traits they implement (maps, sets, sequences), whether they can be infinite, and the speed of various operations. Here are some of the most common immutable collection types used in Scala.


This is a companion discussion topic for the original entry at http://docs.scala-lang.org//overviews/collections/concrete-immutable-collection-classes

I find this sentence a bit contradictory:

Vectors are immutable, so you cannot change an element of a vector and still retain a new vector.

Is it just me that should be something like?:

Vectors are immutable, so you cannot change an element of a vector and still retain the same vector?

Agree, the current wording is poor. A pull request with better wording would be welcome at https://github.com/scala/scala-lang/pulls