simple-pipe-0.0.0.29: simple pipeline library like conduit

Safe HaskellSafe
LanguageHaskell98

Data.Pipe.TChan

Documentation

fromTChan :: (PipeClass p, MonadBase IO m, MonadTrans (p x a), Monad (p x a m)) => TChan a -> p x a m () Source

toTChan :: (PipeClass p, MonadBase IO m, MonadTrans (p a x), Monad (p a x m)) => TChan a -> p a x m () Source

fromTChans :: (PipeClass p, MonadBase IO m, MonadTrans (p x a), Monad (p x a m)) => [TChan a] -> p x a m () Source

toTChans :: (PipeClass p, MonadBase IO m, MonadTrans (p (a, b) x), Monad (p (a, b) x m)) => [(a -> Bool, TChan b)] -> p (a, b) x m () Source

toTChansM :: (PipeClass p, MonadBase IO m, MonadTrans (p (a, b) x), Monad (p (a, b) x m)) => m [(a -> Bool, TChan b)] -> p (a, b) x m () Source