From 23961ef0b341fcce0c2fbb1851b482a735fac655 Mon Sep 17 00:00:00 2001 From: Thomas Hallgren Date: Wed, 27 Jun 2018 17:40:35 +0200 Subject: [PATCH] GF.Server: add 'import Control.Applicative' for compatibilit with GHC<7.10 One could also add stricter version constraints in gf.cabal, e.g. base>=4.8 (implies GHC>=7.10) if we want to only support building with GHC>=7.10. --- src/compiler/GF/Server.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/GF/Server.hs b/src/compiler/GF/Server.hs index 1ca6f399d..c287e8001 100644 --- a/src/compiler/GF/Server.hs +++ b/src/compiler/GF/Server.hs @@ -3,6 +3,7 @@ module GF.Server(server) where import Data.List(partition,stripPrefix,isInfixOf) import qualified Data.Map as M +import Control.Applicative -- for GHC<7.10 import Control.Monad(when) import Control.Monad.State(StateT(..),get,gets,put) import Control.Monad.Error(ErrorT(..),Error(..))