The list below gives all known errors in "Haskell 98 Language and Libraries: the Revised Report",
published by Cambridge University Press as a book, and also in the Journal of Functional Programming
13(1) (Jan 2003).
All page references are to these texts, which may differ slightly from the online versions.
[Feb 2003] Page 123, Section 8.2, PreludeText.
In the defintion of lex make the following changes:
Replace isAlpha in the third guard by isIdInit.
In the definition of isSingle, remove the underscore '_' from the quoted list.
Add the following local definition:
isIdInit c = isAlpha c || c == '_'
[These changes reflect the fact that an identifier can start with an underscore.]
[March 2003] Page 170, Chapter 15 Indexing operations..
Replace the (bogus) law "map index (range (l,u)) = [0..rangeSize (l,u)]" by
[March 2003] Page 194, line -9, Chapter 19 Character
utilities.. Replace "converts the to the character it
encodes" by "converts the string to the character it encodes".