Errata
Submit your own errata for this product.
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question
| Version | Location | Description | Submitted By | Corrected |
|---|---|---|---|---|
| Printed | Page xxxvii last line |
The name "Lauren?iu Nicola" is not formatted correctly in the book. Where I've written a '?', there is the sort of empty box one typically sees when a font is missing a particular Unicode character. |
Anonymous | May 2009 |
| Printed | Page 3 1st paragraph |
There's a space missing between the word "prelude" and "is" in this sentence: |
Jeff Heon | May 2009 |
| Printed | Page 10 7th paragraph (code samples not counted as paragraphs) |
Starting the paragraph, there is the reference: |
J.A.Zaratiegui | May 2009 |
| Page 10 2nd to last line |
Instead of "hit C to halt", it should read "hit Ctrl-C to halt" |
John Goerzen |
May 2009 | |
| Printed | Page 12 About the 4th paragraph |
There's an extra 'S' following the quotes in the following: |
Jeff Heon | May 2009 |
| Printed | Page 16 exercise 3 |
exercise 3 states that "the words function counts the number of words in a string". Note from the Author or Editor: |
Richard Kennedy | May 2009 |
| Printed | Page 26 1st line under "Passing an Expression to a Function" |
There should be a space between "In Haskell," and "function". |
Thanos Tsouanas | May 2009 |
| Page 32 Third paragraph under Lazy Evaluation |
"Then apply the odd function" should read "Then apply the isOdd function". |
John Goerzen |
May 2009 | |
| Printed | Page 42 First paragraph |
There is a capital letter 'T' instead of the word String in the following sentence: |
Jeff Heon | May 2009 |
| Printed | Page 43 first paragraph after "Naming Types and Values" |
Text states: "When we introduced the type BookStore", |
Terry Michaels | May 2009 |
| Printed | Page 43 3rd paragraph, 5th paragraph |
3rd paragraph: "... a new value of type BookStore" should read "BookInfo" instead of "BookStore" |
Thorsten Seitz | May 2009 |
| Printed | Page 43 First paragraph in section "Naming Types and Values" |
The paragraph starts with "When we introduced the type Bookstore...". This should read "When we introduced the type BookInfo...". Later in the sentence "...the type constructor Bookstore..." should read "...the type constructor BookInfo...". Bookstore is the name of the Haskell source code file, not of the type being referred to. |
Jorge Phillips | May 2009 |
| Printed | Page 45 2nd code block |
The two last lines of this code block should be missing. They serve no purpose. We already know that "it" stays the same if an error occurs. Note from the Author or Editor: |
Thanos Tsouanas | May 2009 |
| Printed | Page 47 4th line under "Analogues to Algebraic..." |
The book reads: Note from the Author or Editor: |
Thanos Tsouanas | May 2009 |
| Printed | Page 47 2nd line from the bottom |
Should read "Book" instead of "BookStore". Note from the Author or Editor: |
Thanos Tsouanas | May 2009 |
| Printed | Page 67 2nd paragraph |
wrong word, whether should be when in "followed by an expression to evaluate whether that pattern matches." Note from the Author or Editor: |
Warren Ferguson | May 2009 |
| Printed | Page 70 exercise 7 |
Exercise 7 should consist of two paragraphs. However, the second paragraph is incorrectly labeled as excercise 8. |
Anonymous | May 2009 |
| Printed | Page 75 2nd line under "A Line-Ending Conversion Program" |
Instead of Interact.hs, this should be InteractWith.hs, or the previous instances should also be Interact.hs. |
Thanos Tsouanas | May 2009 |
| Printed | Page 85 2nd code listing |
Incorrect comment: |
Johan Tibell | May 2009 |
| Printed | Page 98 3rd line of code listing for Exercise 4 |
The line as printed reads "asInt_either :: String -> Ei". It looks like the line is truncated, and should read "asInt_either :: String -> Either ErrorMessage Int" judging by the type def above and the output shown below. |
David Stelter | |
| Printed | Page 98 Exercise 9 |
What is numbered as Exercise 9 is only part of Exercise 8 |
J.A.Zaratiegui | |
| Printed | Page 98 Exercises 2 and 6 |
Exercise 2 is only part of Exercise 1 Note from the Author or Editor: |
J.A.Zaratiegui | |
| Printed | Page 98 Exercise 4 |
The signature of the function asInt_either is given as: |
David Fries | |
| Printed | Page 101 First paragraph. Second sentence. |
"Iin fact" instead of "In fact" |
Jeff Heon | |
| Printed | Page 105 6th paragraph |
Drop plural "s" from "begins" in "Count the number of words in a string that begins with a capital letter[.]" |
Stephan Bergmann | |
| Printed | Page 107 1st paragraph |
The text states "... the result of drop 1 . words ..." |
Thorsten Seitz | |
| Printed | Page 110 last sentence in 1st paragraph |
"... the definition of foldl' just shows illustrates how ..." should be either "just shows" or "illustrates" but not both. Note from the Author or Editor: |
enoksrd | |
| Printed | Page 117 2nd paragraph, 2nd sentence |
The sentence reads: |
7stud | |
| Printed | Page 133 3) at bottom of page |
The text reads, Note from the Author or Editor: |
7stud | |
| Printed | Page 145 table 6-1 |
In "[-2^29..2^29-1]", the exponents are not displayed as a superscript. While the text as written is valid Haskell code, it also is not written in the font used for code. One or the other should be done. Note from the Author or Editor: |
Anonymous | |
| Printed | Page 148 table at top of page |
All occurrences of "truncate" in the table are marked with an asterisk to indicate that there's a corresponding footnote, but the footnote is labeled with "a" instead. The title of the table does refer to the "a" footnote. The HTML version of the book (correctly?) uses the asterisk to label the footnote, and does away with the "a" reference in the table title. |
enoksrd | |
| Printed | Page 165 listing of basicio.hs |
The online version of the book has comments by readers stating that the operator ($) has been used, but not explained. I look in the index for "$" and don't find it, and suggest that newbies might not know to look for "($)" which gives you a reference to page 248 -- a reference many pages after where $ is used. Note from the Author or Editor: |
Warren Ferguson | |
| Printed | Page 195 Las paragraph |
Your reference to the 'fourth comma-separated column' might be OK in some programming environments, but it is really the FIFTH comma-separated column, although it is accessed by (!!4) Note from the Author or Editor: |
J.A.Zaratiegui | |
| Printed | Page 197 Section "Filename Matching", 1st para |
At the end of sentence "Many systems-oriented...": parenthesis is closed, but never opened. Note from the Author or Editor: |
Jan Snajder | |
| Printed | Page 199 8th and 9th samples ([String]) |
When you use regex-base-0.93.1 (Debian sid package: libghc6-regex-posix-dev (0.93.1-1)), Note from the Author or Editor: |
HARUYAMA Seigo | |
| Printed | Page 271 1st code sample |
"import Parse -- from chapter 11" should be |
HARUYAMA Seigo | |
| Page 396 first paragraph (under "Reading the laws") |
in "...the left of the == is equivalent to...", it should be ===, not == Note from the Author or Editor: |
sethtisue | ||
| Printed | Page 407 penultimate paragraph in "Foreign Language Bindings: The Basics" |
There's a duplicate "with" in the phrase: Note from the Author or Editor: |
David Fries | |
| Printed | Page 513 second paragraph of "Downloading" section |
book reads: "We'll use a Haskell see HTTP library" |
Joey Hess |
