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
showList :: [ISBN] -> ShowS
$cshowList :: [ISBN] -> ShowS
show :: ISBN -> String
$cshow :: ISBN -> String
showsPrec :: Int -> ISBN -> ShowS
$cshowsPrec :: Int -> ISBN -> ShowS
Show, ISBN -> ISBN -> Bool
(ISBN -> ISBN -> Bool) -> (ISBN -> ISBN -> Bool) -> Eq ISBN
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ISBN -> ISBN -> Bool
$c/= :: ISBN -> ISBN -> Bool
== :: ISBN -> ISBN -> Bool
$c== :: ISBN -> ISBN -> Bool
Eq)