The Artima Developer Community


Errata for Actors in Scala
Chapter 9: Distributed and Parallel Computing
Return to errata index.

Page 116 (PDF page 116):
Listing 9.4 would cause an error as:

..
  case Exit(from, reason) =>

          //Retrieve assigned work:
          //from: type mismatch, expected Actor, actual: AbstractActor
          val (key, value) = assignedMappers(from)
Page 122 (PDF page 122):
a1 ! Broadcast("Hello", Set(a1, a2, a3, a4)) lines at page 122 should be:

a1 ! BCast("Hello", Set(a1, a2, a3, a4)) 

(see BCast case class definition at page 120)
Page 115 (PDF page 131):
In Fig 9.1, in the left table the heading should be V1=List[String], not
List[File].
Page 121 (PDF page 137):
Listing 9.7 uses the orElse method which has not been explained yet.

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 © 2024 Artima, Inc. All rights reserved.