schema-0.0.1: Encoding-independent schemas for Haskell data types.
Data.Schema
data Field Source #
Constructors
Fields
Instances
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 #
class HasSchema a where Source #
Minimal complete definition
schema
schema :: Proxy a -> Schema Source #
schema :: Proxy * Double -> Schema Source #
schema :: Proxy * Int -> Schema Source #
schema :: Proxy * String -> Schema Source #