The Artima Developer Community


Errata for Programming in Scala, 2nd Edition
Chapter 9: Control Abstraction
Return to errata index.

Page 165 (PDF page 207):
Missing word "that" in the sentence:

"One benefit of higher-order functions is they enable you to..."
                                          ^
Page 172 (PDF page 214):
Interpreter output, in scala 2.10.2, for the expression:
  scala> def first(x: Int) = (y: Int) => x + y

is
  first: (x: Int)Int => Int

not, as the book states:
  first: (x: Int)(Int) => Int

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.