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
This commit is contained in:
Andreas Källberg
2022-10-04 13:28:06 +02:00
parent 51b7117a3d
commit 0a16b76875
2 changed files with 5 additions and 3 deletions

View File

@@ -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 ()