deal with mtl/monads-tf conflict

I had been using -ignore-package monads-tf to deal with this, but
the XMPP library uses monads-tf, so that also ignores it. Instead,
use PackageImports to force use of mtl in my own code.
This commit is contained in:
Joey Hess 2012-10-24 14:43:32 -04:00
parent 04ab4bd93a
commit 9856641ef1
5 changed files with 11 additions and 7 deletions

View file

@ -1,9 +1,11 @@
{-# LANGUAGE PackageImports #-}
module Common (module X) where
import Control.Monad as X hiding (join)
import Control.Monad.IfElse as X
import Control.Applicative as X
import Control.Monad.State.Strict as X (liftIO)
import "mtl" Control.Monad.State.Strict as X (liftIO)
import Control.Exception.Extensible as X (IOException)
import Data.Maybe as X