Explorar o código

Removed inadequated Read deriving

Marcos Dumay de Medeiros %!s(int64=7) %!d(string=hai) anos
pai
achega
989ced02f6
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      src/Data/SMTP/Types/Address.hs
  2. 1 1
      src/Data/SMTP/Types/URI.hs

+ 1 - 1
src/Data/SMTP/Types/Address.hs

@@ -10,7 +10,7 @@ import Text.StringConvert
 
 data Address = AccountAdd Ac.Account (Maybe Seal.Seal)
              | URIAdd URI.URI (Maybe Seal.Seal)
-             deriving (Read, Show, Eq, Ord)
+             deriving (Show, Eq, Ord)
 
 asToURI :: Address -> String
 asToURI (AccountAdd a _) = concat ["<", s . Ac.normalize $ a, ">"]

+ 1 - 1
src/Data/SMTP/Types/URI.hs

@@ -14,7 +14,7 @@ newtype Revision = Revision String deriving (Eq, Ord, Read, Show)
 data Parameter = Parameter String String deriving (Eq, Ord, Read, Show)
 
 data URI = URI {account :: Account, path :: Path, revision :: Maybe Revision, parameters :: [Parameter]} 
-         deriving (Eq, Ord, Read)
+         deriving (Eq, Ord)
 
 fullPath :: URI -> String
 fullPath URI{path=Path p} = intercalate "/" $ map uriEncode p