safecopy-0.1ContentsIndex
Data.SafeCopy.Types
Documentation
class SafeCopy a where
Methods
version :: Version a
mode :: Mode a
getCopy :: Contained (Get a)
putCopy :: a -> Contained Put
show/hide Instances
class Migrate a b where
Methods
migrate :: a -> b
show/hide Instances
data Mode a
Constructors
Primitive
Base
Extension (Previous a)
data Contained a
contain :: a -> Contained a
data Proxy a
Constructors
Proxy
mkProxy :: a -> Proxy a
data Previous a
mkPrevious :: forall a b . (SafeCopy b, Migrate b a) => Proxy b -> Previous a
getSafeGet :: forall a . SafeCopy a => Get (Get a)
getSafePut :: forall a . SafeCopy a => PutM (a -> Put)
safePut :: forall a . SafeCopy a => a -> Put
safeGet :: forall a . SafeCopy a => Get a
safeGetVersioned :: forall a b . SafeCopy b => Version a -> Get b
Produced by Haddock version 0.8