HAppS-Data-0.9.2.1: HAppS data manipulation libraries
Contents
Index
HAppS.Data.Serialize
Documentation
class
(
Typeable
a,
Version
a) =>
Serialize
a
where
Methods
getCopy
::
Contained
(
Get
a)
putCopy
:: a ->
Contained
Put
Instances
Serialize
Bool
Serialize
Char
Serialize
Double
Serialize
Float
Serialize
Int
Serialize
Int8
Serialize
Int16
Serialize
Int32
Serialize
Int64
Serialize
Integer
Serialize
Ordering
Serialize
Word8
Serialize
Word16
Serialize
Word32
Serialize
Word64
Serialize
ByteString
Serialize
ByteString
Serialize
Object
Serialize
Updated
Serialize
Title
Serialize
Summary
Serialize
Published
Serialize
Id
Serialize
Contributor
Serialize
Content
Serialize
Category
Serialize
Author
Serialize
Email
Serialize
a =>
Serialize
(
Maybe
a)
Serialize
a =>
Serialize
(
IntMap
a)
(
Serialize
a,
Ord
a) =>
Serialize
(
Set
a)
Typeable
a =>
Serialize
(
Proxy
a)
(
Serialize
a,
Serialize
b) =>
Serialize
(
Either
a b)
(
Serialize
a,
Serialize
b,
Ord
a) =>
Serialize
(
Map
a b)
class
Version
a
where
Methods
mode
::
Mode
a
Instances
Version
Bool
Version
Char
Version
Double
Version
Float
Version
Int
Version
Int8
Version
Int16
Version
Int32
Version
Int64
Version
Integer
Version
Ordering
Version
Word8
Version
Word16
Version
Word32
Version
Word64
Version
ByteString
Version
ByteString
Version
Object
Version
Updated
Version
Title
Version
Summary
Version
Published
Version
Id
Version
Contributor
Version
Content
Version
Category
Version
Author
Version
Email
Version
(
Maybe
a)
Version
(
IntMap
a)
Version
(
Set
a)
Version
(
Proxy
a)
Version
(
Either
a b)
Version
(
Map
a b)
class
Migrate
a b
where
Methods
migrate
:: a -> b
data
Mode
a
Constructors
Primitive
Data layout won't change. Used for types like Int and Char.
Versioned
(VersionId a) (
Maybe
(Previous a))
data
Contained
a
contain
:: a ->
Contained
a
extension
::
forall
a b. (
Serialize
b,
Migrate
b a) => VersionId a ->
Proxy
b ->
Mode
a
safeGet
::
forall
a.
Serialize
a =>
Get
a
safePut
::
forall
a.
Serialize
a => a ->
Put
serialize
::
Serialize
a => a ->
ByteString
deserialize
::
Serialize
a =>
ByteString
-> (a,
ByteString
)
data
Object
Instances
Show
Object
Typeable
Object
Version
Object
Serialize
Object
mkObject
::
Serialize
a => a ->
Object
deserializeObject
::
ByteString
-> (
Object
,
ByteString
)
parseObject
::
Serialize
a =>
Object
-> a
module
HAppS.Data.Proxy
Produced by
Haddock
version 2.1.0