|
|
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
| | Methods | | | 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 () | | Serialize ByteString | | Serialize ByteString | | Serialize Object | | Serialize a => Serialize ([] a) | | 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) => Serialize ((,) a b) | | (Serialize a, Serialize b, Ord a) => Serialize (Map a b) | | (Serialize a, Serialize b, Serialize c) => Serialize ((,,) a b c) | | (Serialize a, Serialize b, Serialize c, Serialize d) => Serialize ((,,,) a b c d) | | (Serialize a, Serialize b, Serialize c, Serialize d, Serialize e) => Serialize ((,,,,) a b c d e) |
|
|
|
|
| | Methods | | | 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 () | | Version ByteString | | Version ByteString | | Version Object | | Version ([] a) | | Version (Maybe a) | | Version (IntMap a) | | Version (Set a) | | Version (Proxy a) | | Version (Either a b) | | Version ((,) a b) | | Version (Map a b) | | Version ((,,) a b c) | | Version ((,,,) a b c d) | | Version ((,,,,) a b c d e) |
|
|
|
|
| Migrate instances are needed to allow upgrades of MACID state. It should be declared as instance Migrate Old New where migrate = transition_function
| | | Methods | |
|
|
|
| Constructors | | Primitive | Data layout won't change. Used for types like Int and Char.
| | Versioned (VersionId a) (Maybe (Previous a)) | |
|
|
|
|
|
|
| Lifts the provided value into Contained
|
|
|
|
|
| Equivalent of Data.Binary.get for instances of Serialize
Takes into account versioning of types.
|
|
|
| Equivalent of Data.Binary.put for instances of Serialize.
Takes into account versioning of types.
|
|
|
| Pure version of safePut. Serializes to a ByteString
|
|
|
| Pure version of safeGet. Parses a ByteString into the expected type
and a remainder.
|
|
|
| Version lookups
|
|
|
Instances | |
|
|
|
| Serializes data and stores it along with its type name in an Object
|
|
|
| deserialize specialized to Objects
|
|
|
| Attempts to convert an Object back into its base type.
If the conversion fails error will be called.
|
|
| module Happstack.Data.Proxy |
|
| Produced by Haddock version 2.4.2 |