primdata-0.1.2.6: Minimum-overhead primitive datatypes
Safe HaskellNone
LanguageHaskell2010

Data.Ref.FF

Documentation

data Ref a b Source #

Instances

Instances details
(Flat a, Flat b) => Unlifted (Ref a b) Source # 
Instance details

Defined in Data.Ref.FF

Associated Types

type Rep (Ref a b) 
Instance details

Defined in Data.Ref.FF

Methods

to# :: Ref a b -> Rep (Ref a b) Source #

from# :: Rep (Ref a b) -> Ref a b Source #

defaultElem :: Ref a b Source #

type Rep (Ref a b) Source # 
Instance details

Defined in Data.Ref.FF

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 #