module Data.ISBN.Types where
import Data.Text
data ISBN
= ISBN10 Text
| ISBN13 Text
deriving (Int -> ISBN -> ShowS
[ISBN] -> ShowS
ISBN -> String
(Int -> ISBN -> ShowS)
-> (ISBN -> String) -> ([ISBN] -> ShowS) -> Show ISBN
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ISBN -> ShowS
showsPrec :: Int -> ISBN -> ShowS
$cshow :: ISBN -> String
show :: ISBN -> String
$cshowList :: [ISBN] -> ShowS
showList :: [ISBN] -> ShowS
Show, ISBN -> ISBN -> Bool
(ISBN -> ISBN -> Bool) -> (ISBN -> ISBN -> Bool) -> Eq ISBN
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ISBN -> ISBN -> Bool
== :: ISBN -> ISBN -> Bool
$c/= :: ISBN -> ISBN -> Bool
/= :: ISBN -> ISBN -> Bool
Eq)