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

Safe HaskellSafe
LanguageHaskell98

Control.Concurrent.Split.Class

Documentation

data In Source #

data Out Source #

class C chan Source #

Minimal complete definition

new, read, write

Instances
C T Source # 
Instance details

Defined in Control.Concurrent.Split.Chan

Methods

new :: IO (T In a, T Out a) Source #

read :: T Out a -> IO a Source #

write :: T In a -> a -> IO () Source #

C T Source # 
Instance details

Defined in Control.Concurrent.Split.MVar

Methods

new :: IO (T In a, T Out a) Source #

read :: T Out a -> IO a Source #

write :: T In a -> a -> IO () Source #

new :: C chan => IO (chan In a, chan Out a) Source #

read :: C chan => chan Out a -> IO a Source #

write :: C chan => chan In a -> a -> IO () Source #