Removed instances for Char

This is so that `String` is not an accidental valid instance in order to
encourage people to use `Text`
This commit is contained in:
Gabriel Gonzalez 2016-02-26 21:51:30 -08:00
parent a1bfe014f5
commit df5544f0a5

View File

@ -93,7 +93,6 @@ class ParseField a where
<> Options.long (Data.Text.unpack name)
Options.option auto fs
instance ParseField Char
instance ParseField Double
instance ParseField Float
instance ParseField Int
@ -159,8 +158,6 @@ instance ParseField a => ParseRecord (Only a) where
parseRecord = Options.helper <*> fmap Only (parseField Nothing)
instance ParseRecord Bool
instance ParseRecord Char where
parseRecord = fmap getOnly parseRecord
instance ParseRecord Double where
parseRecord = fmap getOnly parseRecord
instance ParseRecord Float where