module PersistTestPetType where import Database.Persist.TH data PetType = Cat | Dog deriving (Int -> PetType -> ShowS [PetType] -> ShowS PetType -> String (Int -> PetType -> ShowS) -> (PetType -> String) -> ([PetType] -> ShowS) -> Show PetType forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> PetType -> ShowS showsPrec :: Int -> PetType -> ShowS $cshow :: PetType -> String show :: PetType -> String $cshowList :: [PetType] -> ShowS showList :: [PetType] -> ShowS Show, ReadPrec [PetType] ReadPrec PetType Int -> ReadS PetType ReadS [PetType] (Int -> ReadS PetType) -> ReadS [PetType] -> ReadPrec PetType -> ReadPrec [PetType] -> Read PetType forall a. (Int -> ReadS a) -> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a $creadsPrec :: Int -> ReadS PetType readsPrec :: Int -> ReadS PetType $creadList :: ReadS [PetType] readList :: ReadS [PetType] $creadPrec :: ReadPrec PetType readPrec :: ReadPrec PetType $creadListPrec :: ReadPrec [PetType] readListPrec :: ReadPrec [PetType] Read, PetType -> PetType -> Bool (PetType -> PetType -> Bool) -> (PetType -> PetType -> Bool) -> Eq PetType forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a $c== :: PetType -> PetType -> Bool == :: PetType -> PetType -> Bool $c/= :: PetType -> PetType -> Bool /= :: PetType -> PetType -> Bool Eq) derivePersistField "PetType"