The Artima Developer Community


Errata for Programming in Scala, Third Edition
Chapter 22: Implementing Lists
Return to errata index.

Page 480 (PDF page 518):
Perhaps the package of the following code example should be changed to
"mutable":

package scala.collection.immutable
final class ListBuffer[T] extends Buffer[T] {
  private var start: List[T] = Nil
  private var last0: ::[T] = _
  private var exported: Boolean = false
  ...

FIXED

Page number: Book type: Paperback book PDF eBook
Book version: (Or build date. Found on back of title page.)
Your feedback:
Your name: (optional)
Your email address: (optional) (will not be published)

Copyright © 2021 Artima, Inc. All rights reserved.