concurrent-split-0.0: MVars and Channels with distinguished input and output side
Control.Concurrent.Split.MVar
data T dir a Source
Instances
type In = T InSource
type Out = T OutSource
newEmpty :: IO (In a, Out a)Source
take :: Out a -> IO aSource
put :: In a -> a -> IO ()Source