Enable warnings and take care of extra imports

This commit is contained in:
Danny Navarro 2015-09-14 15:48:47 +02:00
parent ec018db73a
commit b4b8388392
2 changed files with 4 additions and 12 deletions

View File

@ -3,7 +3,7 @@
module Data.GraphQL.Parser where module Data.GraphQL.Parser where
import Prelude hiding (takeWhile) import Prelude hiding (takeWhile)
import Control.Applicative (Alternative, (<|>), empty, many, optional) import Control.Applicative ((<|>), empty, many, optional)
import Control.Monad (when) import Control.Monad (when)
import Data.Char import Data.Char
@ -15,23 +15,13 @@ import Data.Attoparsec.Text
, decimal , decimal
, double , double
, endOfLine , endOfLine
, isEndOfLine
, letter
, many1 , many1
, manyTill , manyTill
, option , option
, peekChar , peekChar
, satisfy , satisfy
, sepBy
, sepBy1 , sepBy1
, skipMany
, skipSpace
, skipWhile
, signed , signed
, space
, takeTill
, takeWhile
, takeWhile1
) )
import Data.GraphQL.AST import Data.GraphQL.AST

View File

@ -13,8 +13,9 @@ maintainer: j@dannynavarro.net
copyright: Copyright (C) 2015 J. Daniel Navarro copyright: Copyright (C) 2015 J. Daniel Navarro
category: Web category: Web
build-type: Simple build-type: Simple
extra-source-files: README.md CHANGELOG.md stack.yaml
cabal-version: >=1.10 cabal-version: >=1.10
tested-with: GHC == 7.10
extra-source-files: README.md CHANGELOG.md stack.yaml
library library
exposed-modules: Data.GraphQL.AST exposed-modules: Data.GraphQL.AST
@ -23,6 +24,7 @@ library
text >=0.11.3.1, text >=0.11.3.1,
attoparsec >=0.10.4.0 attoparsec >=0.10.4.0
default-language: Haskell2010 default-language: Haskell2010
ghc-options: -Wall
source-repository head source-repository head
type: git type: git