This is an industrial-strength monadic parser combinator library. Megaparsec is a feature-rich package that strikes a nice balance between speed, flexibility, and quality of parse errors. After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache