literate Haskell fixes