Home‎ > ‎


This page contains errata for the versions of the textbooks on this site, beginning with the 2nd edition.

Introduction to Programming and Problem Solving Using Scala

Page 128, problem 7. The formula for combinations has a factorial in the wrong place. It should be outside the parentheses as t!/(p!(t-p)!).

Object-Orientation, Abstraction, and Data Structures Using Scala

Page 66, the lambda expressions passed to the three calls to fold left on lines 11, 12, and 13 of the Bank implementation should use max instead of min.
Page 72, on line 26 of the Loan code, the conditional should have amount <= _balance as a payment equal to the balance is allowable.
Page 218-220, the push method in ArrayStack uses Array.copy instead of a for loop, but the footnote on page 220 is written as if a for loop had been used.