diff options
author | Joey Hess <joey@kitenet.net> | 2012-10-24 14:43:32 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-10-24 14:43:32 -0400 |
commit | a5278189ff0da1acdd6d4dfcf720ec8e75e222c7 (patch) | |
tree | cbf233c8349e1207c61234cd23bac928043f409d /Utility | |
parent | eb7190535a63c3a4f92b6968cea7f3b1df56cdbc (diff) |
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.
Diffstat (limited to 'Utility')
-rw-r--r-- | Utility/State.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Utility/State.hs b/Utility/State.hs index c27f3c261..7f8919082 100644 --- a/Utility/State.hs +++ b/Utility/State.hs @@ -5,9 +5,11 @@ - Licensed under the GNU GPL version 3 or higher. -} +{-# LANGUAGE PackageImports #-} + module Utility.State where -import Control.Monad.State.Strict +import "mtl" Control.Monad.State.Strict {- Modifies Control.Monad.State's state, forcing a strict update. - This avoids building thunks in the state and leaking. |