I tried to import the Control.Monad.Writer module as follows:
import Control.Monad.Writer
ghc version 7.4.1 gives the following error:
Ambiguous module name `Control.Monad.Writer': it was found in multiple packages: monads-tf-0.1.0.1 mtl-2.1.1
There is a problem with a similar problem and a workaround here .
Despite the solution given in this thread, my questions are:
Is this the standard cabal and ghc configuration?
- If so: is there a reason why the module should be in two packages by default?
- If not: what (may have happened) and can it be canceled?
If that matters: I'm working on Debian 7.3 wheezy and installed the haskell-platform package. In addition, I installed several packages using cabal install .
Thank you very much in advance!
jules source share