concurrent-split-0.0: MVars and Channels with distinguished input and output side

Safe HaskellSafe-Infered

Control.Concurrent.Split.Class

Documentation

data In Source

data Out Source

class C chan whereSource

Methods

new :: IO (chan In a, chan Out a)Source

read :: chan Out a -> IO aSource

write :: chan In a -> a -> IO ()Source

Instances

C T 
C T