diff options
| author | Thomas Hallgren <th-github@altocumulus.org> | 2018-06-27 17:40:35 +0200 |
|---|---|---|
| committer | Thomas Hallgren <th-github@altocumulus.org> | 2018-06-27 17:40:35 +0200 |
| commit | 23961ef0b341fcce0c2fbb1851b482a735fac655 (patch) | |
| tree | be95d70cd960fd1f7f48145c565993bdc15a617a /src/compiler/GF | |
| parent | 97da247d2191ef8eace753ceb88b18772efdc084 (diff) | |
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.
Diffstat (limited to 'src/compiler/GF')
| -rw-r--r-- | src/compiler/GF/Server.hs | 1 |
1 files changed, 1 insertions, 0 deletions
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(..)) |
