The New Collections Library for Scala 2.13 and Dotty
summary
A redesigned collections library targets Scala 2.13 and Dotty with concrete changes: Traversable is removed and replaced by IterableOnce and IterableOps plus explicit factories so builders can be lazy or strict; default methods use lazy views that reify iterator operations; Stream is replaced by a lazy list that is head- and tail-lazy; overload-resolution fixes (first landed in Scala 2.12 and in Dotty) enable precise overloads for BitSet and Map mapping; a BuildFrom/CanBuild-like mechanism uses companion-object implicits; a compiler bootstrap branch exists but is still WIP.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:06The Dark Ages
- 4:52The Industrial Age
- 11:26Parallel Collections
- 13:41New Collections
- 26:36Scala 212
- 32:59CanBuildFrom








