RefSerialize-0.3.0.0: Write to and read from ByteStrings maintaining internal memory references

Safe HaskellNone

Data.RefSerialize.Serialize

Documentation

data ShowF Source

Constructors

Expr ByteString 
Var Int 

Instances

data Error Source

Constructors

Error String 

data StatW Source

Constructors

StatW (Context, [ShowF], ByteString) 

data STW a Source

Constructors

STW (StatW -> (StatW, a)) 

Instances

Monad STW

monadic serialization

assocs :: Ord a => HashTable a b -> [(a, b)]Source

insert :: key -> val -> HashTable key val -> HashTable key valSource

delete :: key -> HashTable key val -> HashTable key valSource

lookup :: key -> HashTable key val -> Maybe valSource

toList :: HashTable key val -> [(key, val)]Source

fromList :: [(Int, val)] -> HashTable Int valSource

hasht :: a -> (Int, t)Source