stm-split-0.0: TMVars, TVars and TChans with distinguished input and output side
Control.Concurrent.STM.Split.Class
data In Source
data Out Source
class C chan whereSource
Methods
newIO :: IO (chan In a, chan Out a)Source
new :: STM (chan In a, chan Out a)Source
read :: chan Out a -> STM aSource
write :: chan In a -> a -> STM ()Source
Instances