diff options
| author | Danny Navarro <j@dannynavarro.net> | 2016-11-27 12:38:31 -0300 |
|---|---|---|
| committer | Danny Navarro <j@dannynavarro.net> | 2016-11-27 12:56:44 -0300 |
| commit | 61f0a06096cc05ebc008db7e4647390f9a066a44 (patch) | |
| tree | 2f0467c7ee66eeb7e2989033da8a404d41ef5227 /Data/GraphQL/Error.hs | |
| parent | 2cc6b0005100b6f4406ccedbcb21dea7fba5175a (diff) | |
| download | graphql-61f0a06096cc05ebc008db7e4647390f9a066a44.tar.gz | |
Drop support for GHC-7.8.4
Diffstat (limited to 'Data/GraphQL/Error.hs')
| -rw-r--r-- | Data/GraphQL/Error.hs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Data/GraphQL/Error.hs b/Data/GraphQL/Error.hs index 74f08e4..8c24a81 100644 --- a/Data/GraphQL/Error.hs +++ b/Data/GraphQL/Error.hs @@ -1,4 +1,3 @@ -{-# LANGUAGE CPP #-} {-# LANGUAGE OverloadedStrings #-} module Data.GraphQL.Error ( parseError, @@ -15,12 +14,6 @@ import Data.Text (Text, pack) import Control.Arrow ((&&&)) -#if !MIN_VERSION_base(4,8,0) -import Control.Applicative (Applicative, pure) -import Data.Foldable (Foldable, concatMap) -import Prelude hiding (concatMap) -#endif - -- | Wraps a parse error into a list of errors. parseError :: Applicative f => String -> f Aeson.Value parseError s = |
