From 0a16b76875fa8d99c81a4e840083faff771b3cda Mon Sep 17 00:00:00 2001 From: Andreas Källberg Date: Tue, 4 Oct 2022 13:28:06 +0200 Subject: Only include transformers-compat for ghc < 8 Since that's the only place where it's needed and we don't have to fight with versions elsewhere --- src/compiler/GF/Interactive.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/compiler') diff --git a/src/compiler/GF/Interactive.hs b/src/compiler/GF/Interactive.hs index a3a02af78..1970533d6 100644 --- a/src/compiler/GF/Interactive.hs +++ b/src/compiler/GF/Interactive.hs @@ -38,8 +38,10 @@ import GF.Server(server) #endif import GF.Command.Messages(welcome) +#if !(MIN_VERSION_base(4,9,0)) -- Needed to make it compile on GHC < 8 import Control.Monad.Trans.Instances () +#endif -- | Run the GF Shell in quiet mode (@gf -run@). mainRunGFI :: Options -> [FilePath] -> IO () -- cgit v1.2.3