note 4th printing corrections

This commit is contained in:
Alan Donovan
2016-11-12 17:52:07 -05:00
parent 7cd442867e
commit a4814e6329

View File

@@ -19,7 +19,7 @@ pre {
<h1>Errata</h1> <h1>Errata</h1>
<p> <p>
<b>p.xiii, ¶1</b>: delete "Object Oberon". <b>p.xiii, ¶1</b>: delete "Object Oberon".
(Thanks to Luca Boasso, 2016-02-15.) (Thanks to Luca Boasso, 2016-02-15. Corrected in the fourth printing.)
</p> </p>
<p> <p>
@@ -52,7 +52,7 @@ pre {
<!-- The "unnamed" restriction is there for basic types, which <!-- The "unnamed" restriction is there for basic types, which
are named, so it forbids Celsius(0)==float64(0), for instance. are named, so it forbids Celsius(0)==float64(0), for instance.
--> -->
(Thanks to Carlos Romero Brox, 2015-12-19.) (Thanks to Carlos Romero Brox, 2015-12-19. Corrected in the fourth printing.)
</p> </p>
<p> <p>
@@ -69,7 +69,7 @@ pre {
<b>p.48</b>: <code>f.ReadByte()</code> serves as an <b>p.48</b>: <code>f.ReadByte()</code> serves as an
example of a reference to <code>f</code>, but <code>*os.File</code> has no such example of a reference to <code>f</code>, but <code>*os.File</code> has no such
method. For "<code>ReadByte</code>", read "<code>Stat</code>", four times. method. For "<code>ReadByte</code>", read "<code>Stat</code>", four times.
(Thanks to Peter Olsen, 2016-01-06.) (Thanks to Peter Olsen, 2016-01-06. Corrected in the fourth printing.)
</p> </p>
<p> <p>
@@ -80,14 +80,14 @@ pre {
<p> <p>
<b>p.52, ¶9</b>: For "The integer arithmetic operators", read <b>p.52, ¶9</b>: For "The integer arithmetic operators", read
"The arithmetic operators". "The arithmetic operators".
(Thanks to Yoshiki Shibata, 2015-12-20.) (Thanks to Yoshiki Shibata, 2015-12-20. Corrected in the fourth printing.)
</p> </p>
<p> <p>
<b>p.57, ¶4</b>: To "any comparison with NaN always yields false", <b>p.57, ¶4</b>: To "any comparison with NaN always yields false",
add "(except <code>!=</code>, which is always the negation of add "(except <code>!=</code>, which is always the negation of
<code>==</code>)". <code>==</code>)".
(Thanks to Luca Boasso, 2016-02-15.) (Thanks to Luca Boasso, 2016-02-15. Corrected in the fourth printing.)
</p> </p>
<p> <p>
@@ -105,7 +105,7 @@ pre {
<p> <p>
<b>p.73, ¶1</b>: For "a exercise", read "an exercise". <b>p.73, ¶1</b>: For "a exercise", read "an exercise".
(Thanks to vrajmohan, 2015-12-28.) (Thanks to vrajmohan, 2015-12-28. Corrected in the fourth printing.)
</p> </p>
<p> <p>
@@ -116,7 +116,7 @@ pre {
<p> <p>
<b>p.75, ¶4</b>: For "<code>%u</code>", read "%<code>o</code>". <b>p.75, ¶4</b>: For "<code>%u</code>", read "%<code>o</code>".
(Thanks to William Hannish, 2015-12-21.) (Thanks to William Hannish, 2015-12-21. Corrected in the fourth printing.)
</p> </p>
<p> <p>
@@ -138,26 +138,27 @@ pre {
<p> <p>
<b>p.84, ¶2</b>: For "used as function parameters", <b>p.84, ¶2</b>: For "used as function parameters",
read "used as function parameters or results". read "used as function parameters or results".
(Thanks to Yang Yang 杨玚, 2016-04-18.) (Thanks to Yang Yang 杨玚, 2016-04-18. Corrected in the fourth printing.)
</p> </p>
<p> <p>
<b>p.107, ¶6</b>: in "JSON's <code>\U</code><i>hhhh</i> numeric escapes", <b>p.107, ¶6</b>: in "JSON's <code>\U</code><i>hhhh</i> numeric escapes",
the <code>U</code> should be lowercase: <code>\u</code><i>hhhh</i>. the <code>U</code> should be lowercase: <code>\u</code><i>hhhh</i>.
(Thanks to Kohei Marumoto (丸本耕平), 2016-09-23.) (Thanks to Kohei Marumoto (丸本耕平), 2016-09-23. Corrected in the fourth printing.)
</p> </p>
<p> <p>
<b>p.112</b>: Exercise 4.11 calls for a "CRUD" (create, read, update, <b>p.112</b>: Exercise 4.11 calls for a "CRUD" (create, read, update,
delete) tool for GitHub Issues. Since GitHub does not currently allow delete) tool for GitHub Issues. Since GitHub does not currently allow
Issues to be deleted, for "delete", read "close". Issues to be deleted, for "delete", read "close".
(Thanks to Yoshiki Shibata, 2016-01-18.) (Thanks to Yoshiki Shibata, 2016-01-18. Corrected in the fourth printing.)
</p> </p>
<p> <p>
<b>p.115</b>: The anchor element in <b>p.115</b>: The anchor element in
<code>gopl.io/ch4/issueshtml</code>'s template is missing a closing <code>gopl.io/ch4/issueshtml</code>'s template is missing a closing
<code>&lt;/a&gt;</code> tag. (Thanks to Taj Khattra, 2016-01-19.) <code>&lt;/a&gt;</code> tag.
(Thanks to Taj Khattra, 2016-01-19. Corrected in the fourth printing.)
</p> </p>
<p> <p>
@@ -169,13 +170,13 @@ pre {
<p> <p>
<b>p.139, ¶4</b>: For "in Chapter 3", read "in Chapter 4". <b>p.139, ¶4</b>: For "in Chapter 3", read "in Chapter 4".
(Thanks to Yoshiki Shibata, 2016-07-03.) (Thanks to Yoshiki Shibata, 2016-07-03. Corrected in the fourth printing.)
</p> </p>
<p> <p>
<b>p.160, ¶4</b>: For <code>Get("item"))</code>, <b>p.160, ¶4</b>: For <code>Get("item"))</code>,
read <code>Get("item")</code>. read <code>Get("item")</code>.
(Thanks to Yoshiki Shibata, 2016-02-01.) (Thanks to Yoshiki Shibata, 2016-02-01. Corrected in the fourth printing.)
</p> </p>
<p> <p>
@@ -185,7 +186,7 @@ pre {
<p> <p>
<b>p.177, ¶6</b>: For "as we saw", read "as we will see". <b>p.177, ¶6</b>: For "as we saw", read "as we will see".
(Thanks to David Drysdale, 2016-07-05.) (Thanks to David Drysdale, 2016-07-05. Corrected in the fourth printing.)
</p> </p>
<p> <p>
@@ -199,24 +200,24 @@ pre {
<b>p.222, Exercise 8.1</b>: The port numbers for <code>London</code> <b>p.222, Exercise 8.1</b>: The port numbers for <code>London</code>
and <code>Tokyo</code> should be swapped in the final command to and <code>Tokyo</code> should be swapped in the final command to
match the earlier commands. match the earlier commands.
(Thanks to Kiyoshi Kamishima, 2016-01-08.) (Thanks to Kiyoshi Kamishima, 2016-01-08. Corrected in the fourth printing.)
</p> </p>
<p> <p>
<b>p.235, ¶3</b>: <code>makeThumbnails</code> refers to the second draft <b>p.235, ¶3</b>: <code>makeThumbnails</code> refers to the second draft
of the function, <code>makeThumbnails2</code>. of the function, <code>makeThumbnails2</code>.
(Thanks to 有賀功 Isao Aruga, 2016-07-13.) (Thanks to 有賀功 Isao Aruga, 2016-07-13. Corrected in the fourth printing.)
</p> </p>
<p> <p>
<b>p.272, ¶3</b>: for "the request body", read "the response body". <b>p.272, ¶3</b>: for "the request body", read "the response body".
(Thanks to 曹春晖, 2016-01-19.) (Thanks to 曹春晖, 2016-01-19. Corrected in the fourth printing.)
</p> </p>
<p> <p>
<b>p.288, code display following ¶4</b>: In the import declaration, for <b>p.288, code display following ¶4</b>: In the import declaration, for
<code>"database/mysql"</code>, read <code>"database/sql"</code>. <code>"database/mysql"</code>, read <code>"database/sql"</code>.
(Thanks to Jose Colon Rodriguez, 2016-01-09.) (Thanks to Jose Colon Rodriguez, 2016-01-09. Corrected in the fourth printing.)
</p> </p>
<p> <p>
@@ -227,20 +228,20 @@ pre {
It should read: It should read:
<pre>{"+x * -x", Env{"x": 2}, "-4"}</pre> <pre>{"+x * -x", Env{"x": 2}, "-4"}</pre>
(Thanks to Shinji Dosaka, 2016-07-15.) (Thanks to Shinji Dosaka, 2016-07-15. Corrected in the fourth printing.)
</p> </p>
<p> <p>
<b>p.341, Exercise 12.7</b>: For "decoder" and <b>p.341, Exercise 12.7</b>: For "decoder" and
"<code>json.Decoder</code>", read "encoder" and "<code>json.Decoder</code>", read "encoder" and
"<code>json.Encoder</code>", respectively. "<code>json.Encoder</code>", respectively.
(Thanks to Yoshiki Shibata, 2016-08-27.) (Thanks to Yoshiki Shibata, 2016-08-27. Corrected in the fourth printing.)
</p> </p>
<p> <p>
<b>p.347, Exercise 12.8</b>: For "like <code>json.Marshal</code>", <b>p.347, Exercise 12.8</b>: For "like <code>json.Marshal</code>",
read "like <code>json.Unmarshal</code>". read "like <code>json.Unmarshal</code>".
(Thanks to chai2010, 2016-01-01.) (Thanks to chai2010, 2016-01-01. Corrected in the fourth printing.)
</p> </p>
<p> <p>
@@ -260,7 +261,7 @@ pre {
<p> <p>
<b>p.366, Exercise 13.3</b>: For <code>bzip2.writer</code>, read <code>bzip.writer</code>. <b>p.366, Exercise 13.3</b>: For <code>bzip2.writer</code>, read <code>bzip.writer</code>.
(Thanks to Yoshiki Shibata, 2016-09-05.) (Thanks to Yoshiki Shibata, 2016-09-05. Corrected in the fourth printing.)
</p> </p>
</body> </body>