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

Safe HaskellSafe
LanguageHaskell98

Control.Concurrent.Split.Chan

Documentation

data T dir a #

Instances
C T # 
Instance details

Defined in Control.Concurrent.Split.Chan

Methods

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

read :: T Out a -> IO a #

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

type In = T In #

type Out = T Out #

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

read :: Out a -> IO a #

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