From a5278189ff0da1acdd6d4dfcf720ec8e75e222c7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 24 Oct 2012 14:43:32 -0400 Subject: 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. --- Utility/State.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Utility/State.hs') 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. -- cgit v1.2.3