From f88948e801d5b12ba7ec3b46bf10cd6e0363ce1a Mon Sep 17 00:00:00 2001 From: Danny Navarro Date: Wed, 16 Sep 2015 10:36:44 +0200 Subject: Support ghc-7.8 --- tests/golden.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3