Support ghc-7.8

This commit is contained in:
Danny Navarro
2015-09-16 10:36:44 +02:00
parent ee0e0c3d1f
commit f88948e801
6 changed files with 22 additions and 7 deletions

View File

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