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

View File

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