From c87ea45488154adce82198b6f46f1c62996ade34 Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Tue, 15 Jul 2014 14:45:41 +0900 Subject: [PATCH] adding #if to Monad.hs. --- Language/Haskell/GhcMod/Monad.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Language/Haskell/GhcMod/Monad.hs b/Language/Haskell/GhcMod/Monad.hs index eeec1cc..ebcc7cc 100644 --- a/Language/Haskell/GhcMod/Monad.hs +++ b/Language/Haskell/GhcMod/Monad.hs @@ -74,7 +74,9 @@ import Control.Monad.Base (MonadBase, liftBase) import Control.Monad.Reader.Class import Control.Monad.State.Class import Control.Monad.Trans.Class -import Control.Monad.Trans.Maybe -- fixme +#if __GLASGOW_HASKELL__ < 708 +import Control.Monad.Trans.Maybe +#endif import Control.Monad.Trans.Control (MonadBaseControl(..), StM, liftBaseWith, control, liftBaseOp, liftBaseOp_) import Control.Monad.Trans.RWS.Lazy (RWST(..), runRWST)