concurrent-split-0.0.1: 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
tryTake :: Out a -> IO (Maybe a)Source
put :: In a -> a -> IO ()Source
tryPut :: In a -> a -> IO BoolSource