diff options
| author | Danny Navarro <j@dannynavarro.net> | 2015-09-16 10:36:44 +0200 |
|---|---|---|
| committer | Danny Navarro <j@dannynavarro.net> | 2015-09-16 10:36:59 +0200 |
| commit | f88948e801d5b12ba7ec3b46bf10cd6e0363ce1a (patch) | |
| tree | 1b5bdf0f4ff4285835f4ea9992e00a111e596779 /tests | |
| parent | ee0e0c3d1f1c259555d246df1be1c9e5b9be0e35 (diff) | |
| download | graphql-f88948e801d5b12ba7ec3b46bf10cd6e0363ce1a.tar.gz | |
Support ghc-7.8
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/golden.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/golden.hs b/tests/golden.hs index 2323a97..98413eb 100644 --- a/tests/golden.hs +++ b/tests/golden.hs @@ -1,6 +1,10 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE OverloadedStrings #-} module Main where +#if !MIN_VERSION_base(4,8,0) +import Control.Applicative ((<$>), (<*>), pure) +#endif import Control.Monad ((>=>)) import Data.Attoparsec.Text (parseOnly) import Data.ByteString.Lazy.Char8 as B8 |
