summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Navarro <j@dannynavarro.net>2015-09-14 15:48:47 +0200
committerDanny Navarro <j@dannynavarro.net>2015-09-14 15:48:47 +0200
commitb4b83883924a0e7c8eacd63f26b098fe31c9e0be (patch)
tree4da34ec14dddfe3733a24f915b1a4e0011e6675c
parentec018db73affd8e7287ff2c8384f5d424248140a (diff)
downloadgraphql-b4b83883924a0e7c8eacd63f26b098fe31c9e0be.tar.gz
Enable warnings and take care of extra imports
-rw-r--r--Data/GraphQL/Parser.hs12
-rw-r--r--graphql.cabal4
2 files changed, 4 insertions, 12 deletions
diff --git a/Data/GraphQL/Parser.hs b/Data/GraphQL/Parser.hs
index 1f7254b..66d913d 100644
--- a/Data/GraphQL/Parser.hs
+++ b/Data/GraphQL/Parser.hs
@@ -3,7 +3,7 @@
module Data.GraphQL.Parser where
import Prelude hiding (takeWhile)
-import Control.Applicative (Alternative, (<|>), empty, many, optional)
+import Control.Applicative ((<|>), empty, many, optional)
import Control.Monad (when)
import Data.Char
@@ -15,23 +15,13 @@ import Data.Attoparsec.Text
, decimal
, double
, endOfLine
- , isEndOfLine
- , letter
, many1
, manyTill
, option
, peekChar
, satisfy
- , sepBy
, sepBy1
- , skipMany
- , skipSpace
- , skipWhile
, signed
- , space
- , takeTill
- , takeWhile
- , takeWhile1
)
import Data.GraphQL.AST
diff --git a/graphql.cabal b/graphql.cabal
index 98914ed..55759d1 100644
--- a/graphql.cabal
+++ b/graphql.cabal
@@ -13,8 +13,9 @@ maintainer: j@dannynavarro.net
copyright: Copyright (C) 2015 J. Daniel Navarro
category: Web
build-type: Simple
-extra-source-files: README.md CHANGELOG.md stack.yaml
cabal-version: >=1.10
+tested-with: GHC == 7.10
+extra-source-files: README.md CHANGELOG.md stack.yaml
library
exposed-modules: Data.GraphQL.AST
@@ -23,6 +24,7 @@ library
text >=0.11.3.1,
attoparsec >=0.10.4.0
default-language: Haskell2010
+ ghc-options: -Wall
source-repository head
type: git