diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-08-01 11:46:26 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-08-01 11:46:26 +0200 |
commit | 27cd2842cb5e02f937fcb9363856434d47a869e1 (patch) | |
tree | 33fe4e0a5f92ca239e8eae1cdcf4f663a095b39d /src/Codec/Pesto/Parse.lhs | |
parent | f2a73374e76e5da8ce893cae0cff6ab21209b152 (diff) | |
download | pesto-27cd2842cb5e02f937fcb9363856434d47a869e1.tar.gz pesto-27cd2842cb5e02f937fcb9363856434d47a869e1.tar.bz2 pesto-27cd2842cb5e02f937fcb9363856434d47a869e1.zip |
Switch on GHC warnings
Diffstat (limited to 'src/Codec/Pesto/Parse.lhs')
-rw-r--r-- | src/Codec/Pesto/Parse.lhs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/Codec/Pesto/Parse.lhs b/src/Codec/Pesto/Parse.lhs index 0d4e981..d411906 100644 --- a/src/Codec/Pesto/Parse.lhs +++ b/src/Codec/Pesto/Parse.lhs @@ -8,8 +8,8 @@ Language syntax > , test > , Instruction(..) > , Quantity(..) -> , Unit(..) -> , Object(..) +> , Unit +> , Object > , Approximately(..) > , Amount(..) > , isResult @@ -23,13 +23,11 @@ Language syntax > , notspace > ) where > import Control.Applicative ((<*>), (<$>), (<*), (*>)) -> import Data.Char (isSpace, toLower, isLetter) +> import Data.Char (isSpace) > import Data.Ratio ((%)) > import Text.Parsec hiding (parse) -> import Text.Parsec.Char > import Text.ParserCombinators.Parsec.Pos (newPos) -> import Text.ParserCombinators.Parsec.Error (ParseError, Message, -> errorMessages, messageEq, newErrorUnknown) +> import Text.ParserCombinators.Parsec.Error (newErrorUnknown) > import Test.HUnit hiding (test) > > import Codec.Pesto.Serialize (serialize) |