PLP 5e Errata
This page contains a list of all known errors in the text.
To report additional bugs, send mail to
or
.
Main book
-
Page 174, Exploration 3.41, last full line: replace “are their
any” with “are there any”.
-
Page 205, past two lines: replace “Python, Ruby, or
JavaScript” with “Python or Ruby”.
-
Page 210, Fig. 4.13,
13th line of typecheck_expr:
replace “float” with
“real”.
13th line of typecheck_stmt:
replace “type_expr” with
“typ_expr” and
“type_x” with “typ_x”.
-
Page 513, Fig. 9.6, second line of
main
:
replace “int n
” with “unsigned int
n
”.
-
Page 524, Fig. 10.1: replace first line of method
contains
with
if (data == this.data)
return true;
else if (next == null)
-
Page 526, Example 10.5: replace first line of method
Link::contains
with
if (data == this->data)
return true;
else if (next == NULL)
-
Page 530, Exercise 10.10, fourth-to-last line: replace “single
super
of” with “single super
or”.
-
Page 535, code at top of page: replace first line of method
contains
with
if (data == this.data)
return true;
else if (next == null)
Companion site
Thanks to Johann Klähn and Minh Nguyen
for their help in catching these mistakes.
Back to the book home page