Implementation of the new collections of Scala 2.13.
The implementation of the collections has been merged to the
scala/scala repository. Contributions should now target the
scala/scala repository (branch 2.13.x
). The current scala/collection-strawman
repository is only used as an issue tracker.
Thanks to Git, you can still look up the code before it was deleted from this repository by browsing the before-deletion branch.
The new collections will be included in the standard library of Scala 2.13.0-M4.
You can currently use a pre-release of 2.13.0-M4:
scalaVersion := "2.13.0-M4-pre-20d3c21"
Before 2.13.0-M4 is released you can use the previous releases of the collections (published as an external library).
The collections live in the strawman.collection
namespace (instead of scala.collection
).
Add the following dependencies to your project:
libraryDependencies += "ch.epfl.scala" %% "collection-strawman" % "0.9.0"
libraryDependencies += "ch.epfl.scala" %% "collections-contrib" % "0.9.0" // optional
The 0.9.0 version is compatible with Scala 2.13-M2 and Dotty 0.6. Scala 2.12 is also supported but you might encounter type inference issues with it.
We welcome contributions!
For more information, see the CONTRIBUTING file.