schema-0.0.2: Encoding-independent schemas for Haskell data types.
Data.Schema
data Field Source #
Constructors
Fields
Defined in Data.Schema
Methods
(==) :: Field -> Field -> Bool #
(/=) :: Field -> Field -> Bool #
readsPrec :: Int -> ReadS Field #
readList :: ReadS [Field] #
readPrec :: ReadPrec Field #
readListPrec :: ReadPrec [Field] #
showsPrec :: Int -> Field -> ShowS #
show :: Field -> String #
showList :: [Field] -> ShowS #
data Schema Source #
(==) :: Schema -> Schema -> Bool #
(/=) :: Schema -> Schema -> Bool #
readsPrec :: Int -> ReadS Schema #
readList :: ReadS [Schema] #
readPrec :: ReadPrec Schema #
readListPrec :: ReadPrec [Schema] #
showsPrec :: Int -> Schema -> ShowS #
show :: Schema -> String #
showList :: [Schema] -> ShowS #
schema :: Proxy Schema -> Type Source #
data Type Source #
(==) :: Type -> Type -> Bool #
(/=) :: Type -> Type -> Bool #
readsPrec :: Int -> ReadS Type #
readList :: ReadS [Type] #
readPrec :: ReadPrec Type #
readListPrec :: ReadPrec [Type] #
showsPrec :: Int -> Type -> ShowS #
show :: Type -> String #
showList :: [Type] -> ShowS #
class HasSchema a where Source #
schema :: Proxy a -> Type Source #
schema :: Proxy Double -> Type Source #
schema :: Proxy Int -> Type Source #
schema :: Proxy String -> Type Source #