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

Data.Ref.FFF

Documentation

data Ref a b c Source #

Instances

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

Defined in Data.Ref.FFF

Associated Types

type Rep (Ref a b c) 
Instance details

Defined in Data.Ref.FFF

Methods

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

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

defaultElem :: Ref a b c Source #

type Rep (Ref a b c) Source # 
Instance details

Defined in Data.Ref.FFF

defaultRef :: (Flat a, Flat b, Flat c) => Ref a b c Source #

new :: (Flat a, Flat b, Flat c) => a -> b -> c -> IO (Ref a b c) Source #

writeFst :: Flat a => Ref a b c -> a -> IO () Source #

readFst :: Flat a => Ref a b c -> IO a Source #

modifyFst :: Flat a => Ref a b c -> (a -> a) -> IO () Source #

writeSnd :: (Flat a, Flat b) => Ref a b c -> b -> IO () Source #

readSnd :: (Flat a, Flat b) => Ref a b c -> IO b Source #

modifySnd :: (Flat a, Flat b) => Ref a b c -> (b -> b) -> IO () Source #

writeThd :: (Flat a, Flat b, Flat c) => Ref a b c -> c -> IO () Source #

readThd :: (Flat a, Flat b, Flat c) => Ref a b c -> IO c Source #

modifyThd :: (Flat a, Flat b, Flat c) => Ref a b c -> (c -> c) -> IO () Source #