uhc-util-0.1.1.0: UHC utilities

Safe HaskellNone

UHC.Util.Serialize

Synopsis

Documentation

type SPut = State SPutS ()Source

type SGet x = StateT SGetS Get xSource

sgetShared :: forall x. (Ord x, Serialize x, Typeable x) => SGet xSource

putSPutFile :: FilePath -> SPut -> IO ()Source

SPut to FilePath

getSGetFile :: FilePath -> SGet a -> IO aSource

SGet from FilePath

putSerializeFile :: Serialize a => FilePath -> a -> IO ()Source

Serialize to FilePath

getSerializeFile :: Serialize a => FilePath -> IO aSource

Unserialize from FilePath