From b4b83883924a0e7c8eacd63f26b098fe31c9e0be Mon Sep 17 00:00:00 2001 From: Danny Navarro Date: Mon, 14 Sep 2015 15:48:47 +0200 Subject: [PATCH] Enable warnings and take care of extra imports --- Data/GraphQL/Parser.hs | 12 +----------- graphql.cabal | 4 +++- 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