Haddock is a documentation-generation tool for Haskell libraries. These modules expose some functionality of it. After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache