
11 Jan
2010
11 Jan
'10
2:54 a.m.
Günther Schmidt:
Could not find module `Control.Monad.Trans': it was found in multiple packages: transformers-0.1.4.0 mtl-1.1.0.2
Ivan Lazar Miljenovic:
There's a way of specifying it at the top of whichever file you're using, but so far my workaround in this situation is to use "ghc-pkg hide" on whichever of those packages I don't use in my code.
Günther Schmidt:
ghc-pkg hide works fine, thanks!
As an alternative, you can use `LANGUAGE PackageImports' pragma: | {-# LANGUAGE PackageImports #-} | | import "transformers" Control.Monad.Trans See http://thread.gmane.org/gmane.comp.lang.haskell.libraries/12134/focus=12155 PS: Have fun with iteratees! -- vvv