safecopy-0.3: Binary serialization with version control.Source codeContentsIndex
Data.SafeCopy.Types
Documentation
class SafeCopy a whereSource
Methods
version :: Version aSource
mode :: Mode aSource
getCopy :: Contained (Get a)Source
putCopy :: a -> Contained PutSource
show/hide Instances
class Migrate a b whereSource
Methods
migrate :: a -> bSource
show/hide Instances
data Mode a Source
Constructors
Primitive
Base
Extension (Previous a)
data Contained a Source
contain :: a -> Contained aSource
data Proxy a Source
Constructors
Proxy
mkProxy :: a -> Proxy aSource
data Previous a Source
mkPrevious :: forall a b. (SafeCopy b, Migrate b a) => Proxy b -> Previous aSource
getSafeGet :: forall a. SafeCopy a => Get (Get a)Source
getSafePut :: forall a. SafeCopy a => PutM (a -> Put)Source
safePut :: forall a. SafeCopy a => a -> PutSource
safeGet :: forall a. SafeCopy a => Get aSource
safeGetVersioned :: forall a b. SafeCopy b => Version a -> Get bSource
Produced by Haddock version 2.3.0