summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Källberg <anka.213@gmail.com>2022-10-04 13:28:06 +0200
committerAndreas Källberg <anka.213@gmail.com>2022-10-04 13:28:23 +0200
commit0a16b76875fa8d99c81a4e840083faff771b3cda (patch)
treeffa268d361530d907133f6aa8271f75b4b9cab19 /src
parent51b7117a3d0ae56118074112203d1f3f18402d0f (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/compiler/GF/Interactive.hs2
1 files changed, 2 insertions, 0 deletions
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 ()