@@ -19,11 +19,15 @@ import Control.Monad.Trans.Control
1919import Control.Monad.Trans.Resource
2020import Control.Monad.Zip
2121
22−#if MIN_VERSION_base(4,18,0)
22+#if MIN_VERSION_mtl(2,3,0)
2323import Control.Monad
2424import Control.Monad.Fix
2525#endif
2626
27+#if !MIN_VERSION_base(4,13,0)
28+import Control.Monad.Fail
29+#endif
30+
2731-- | The only reason this exists is that there are a lot of instances for
2832-- 'EnvT, which simply pass the implementation to the inner 'm'
2933-- such as 'MonadLogger'.