From 7fc40c41abb94520980db657495ca6b896f598d0 Mon Sep 17 00:00:00 2001 From: Jiyu Zhou Date: Wed, 17 Apr 2024 02:56:34 +0900 Subject: [PATCH] Import MonadPlus if mtl >=2.3 --- extensible-skeleton/src/Data/Extensible/Effect/Default.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extensible-skeleton/src/Data/Extensible/Effect/Default.hs b/extensible-skeleton/src/Data/Extensible/Effect/Default.hs index 06a32fb..f8bf10b 100644 --- a/extensible-skeleton/src/Data/Extensible/Effect/Default.hs +++ b/extensible-skeleton/src/Data/Extensible/Effect/Default.hs @@ -34,6 +34,9 @@ module Data.Extensible.Effect.Default ( ) where import Control.Applicative import Data.Extensible.Effect +#if MIN_VERSION_mtl(2,3,0) +import Control.Monad +#endif import Control.Monad.Except import Control.Monad.Catch import Control.Monad.Cont