Effective Haskell:Typos (B9 - PDF version) - Chapter 9 to 15

Two more typos in Chapter 12.

p. 457 - at the very bottom of the page

{-# MINIMAL , (<|>) #-}

should read

{-# MINIMAL empty, (<|>) #-}

This is stated to be the case in the documentation text.

However, when you look at the definition of the Applicative typeclass, searching for MINIMAL, you don’t find such a pragma for this typeclass. Did I miss something ?

p.466 - Line just above the type signature parseError :: String → FilePackParser a

One option here would be to factor our the error handing into it’s own function

should read

One option here would be to factor our the error handling into it’s own function