Replace Control.Monad.Error with CM.Except via mtl-compat

Control.Monad.Error is deprecated since mtl-2.2.1.
mtl-compat is a module that backports the Control.Monad.Except module
providing backwards compatibilty for users of mtl <= 2.2.0.
This commit is contained in:
Simon Jakobi 2015-09-14 05:15:28 +02:00
parent 09074d773f
commit e68721c834
2 changed files with 3 additions and 2 deletions

View File

@ -39,7 +39,8 @@ library
exceptions,
data-default-class,
blaze-builder,
unordered-containers
unordered-containers,
mtl-compat
default-language: Haskell2010
test-suite tests

View File

@ -231,7 +231,7 @@ module Database.Bloodhound.Types
import Control.Applicative
import Control.Monad.Catch
import Control.Monad.Error
import Control.Monad.Except
import Control.Monad.Reader
import Control.Monad.State
import Control.Monad.Writer