forked from OSS/graphql
Enable warnings and take care of extra imports
This commit is contained in:
parent
ec018db73a
commit
b4b8388392
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user