@@ -19,11 +19,15 @@ import Control.Monad.Trans.Control
19import Control.Monad.Trans.Resource
19import Control.Monad.Trans.Resource
20import Control.Monad.Zip
20import Control.Monad.Zip
22−#if MIN_VERSION_base(4,18,0)
22+#if MIN_VERSION_mtl(2,3,0)
23import Control.Monad
23import Control.Monad
24import Control.Monad.Fix
24import Control.Monad.Fix
27+#if !MIN_VERSION_base(4,13,0)
28+import Control.Monad.Fail
27-- | The only reason this exists is that there are a lot of instances for
31-- | The only reason this exists is that there are a lot of instances for
28-- 'EnvT, which simply pass the implementation to the inner 'm'
32-- 'EnvT, which simply pass the implementation to the inner 'm'
29-- such as 'MonadLogger'.
33-- such as 'MonadLogger'.