Data.Ref.FF
data Ref a b Source #
Constructors
Defined in Data.Ref.FF
Associated Types
Methods
to# :: Ref a b -> Rep (Ref a b) Source #
from# :: Rep (Ref a b) -> Ref a b Source #
defaultElem :: Ref a b Source #
defaultRef :: (Flat a, Flat b) => Ref a b Source #
new :: (Flat a, Flat b) => a -> b -> IO (Ref a b) Source #
writeFst :: Flat a => Ref a b -> a -> IO () Source #
readFst :: Flat a => Ref a b -> IO a Source #
modifyFst :: Flat a => Ref a b -> (a -> a) -> IO () Source #
writeSnd :: (Flat a, Flat b) => Ref a b -> b -> IO () Source #
readSnd :: (Flat a, Flat b) => Ref a b -> IO b Source #
modifySnd :: (Flat a, Flat b) => Ref a b -> (b -> b) -> IO () Source #