The Artima Developer Community


Errata for Actors in Scala
Chapter 4: Actor Chat
Return to errata index.

Page 53 (PDF page 53):
Listing 4.8:
val sessionUser = actor {
  while (true) {
    self.receiveWithin (1800 * 1000) {
    ...
    }
  }
}

self.receiveWithin (1800 * 1000) should be self.receiveWithin (180 *
1000) for 3 minutes
Page 49 (PDF page 67):
"In using ! to denote message sending, Scala follows the tradition of
Erlang:"

The use of "!" for message sending in occam (1983) predates the usage in
Erlang (1986).
I am not 100% sure, but if I'm not mistaken some variants of CSP already
used the "!" earlier.

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.