safecopy-0.3: Binary serialization with version control.

Data.SafeCopy.Types

Documentation

data Mode a Source

Constructors

Primitive 
Base 
Extension (Previous a) 

data Proxy a Source

Constructors

Proxy 

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