Ongoing work on standard collections redesign

We started working on a redesign of the standard collections in the following repository:

There is also a corresponding gitter room:

The goals of the redesign are to fix most of the issues of the current collections (e.g. the complexity of CanBuildFrom, immutable operators on mutable collections, lazy vs strict collections, huge class hierarchy, etc.) while keeping a similar user facing API.

The redesign is based on a strawman written by Martin Odersky and is still being polished.

We will keep you informed of our progress and decisions in this thread. Feel free to discuss and comment!

5 Likes

Hi all,

I just created an issue to discuss about the desired way to produce collections:
https://github.com/scala/collection-strawman/issues/34

I would love to get your feedback, feel free to leave a comment to share your expectations or advice on the topic!

2 Likes

I released a 0.1.0 version so that anyone can play with the new design: https://index.scala-lang.org/scala/collection-strawman

Note that very few operations are actually implemented (ie. you can not write really useful programs with it), the purpose of this release is just for the community to try out the new design!

2 Likes

A post was split to a new topic: Scala Collections Redesign Roadmap