HAppS-Data-0.9.3: HAppS data manipulation librariesSource codeContentsIndex
HAppS.Data.Serialize
Documentation
class (Typeable a, Version a) => Serialize a whereSource
Methods
getCopy :: Contained (Get a)Source
putCopy :: a -> Contained PutSource
show/hide Instances
class Version a whereSource
Methods
mode :: Mode aSource
show/hide Instances
class Migrate a b whereSource
Methods
migrate :: a -> bSource
data Mode a Source
Constructors
PrimitiveData layout won't change. Used for types like Int and Char.
Versioned (VersionId a) (Maybe (Previous a))
data Contained a Source
contain :: a -> Contained aSource
extension :: forall a b. (Serialize b, Migrate b a) => VersionId a -> Proxy b -> Mode aSource
safeGet :: forall a. Serialize a => Get aSource
safePut :: forall a. Serialize a => a -> PutSource
serialize :: Serialize a => a -> ByteStringSource
deserialize :: Serialize a => ByteString -> (a, ByteString)Source
collectVersions :: forall a. (Typeable a, Version a) => Proxy a -> [ByteString]Source
data Object Source
show/hide Instances
mkObject :: Serialize a => a -> ObjectSource
deserializeObject :: ByteString -> (Object, ByteString)Source
parseObject :: Serialize a => Object -> aSource
module HAppS.Data.Proxy
Produced by Haddock version 2.4.2