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:
parent
04ab4bd93a
commit
9856641ef1
5 changed files with 11 additions and 7 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue