Free monads are useful for many tree-like structures and domain specific languages. After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache