Safe Haskell | Safe |
---|---|
Language | Haskell98 |
MonadLIO
generalizations for LIO.Concurrent.LChan.
- newLChan :: (MonadLIO l m, Label l) => l -> m (LChan l a)
- newLChanP :: (MonadLIO l m, PrivDesc l p) => Priv p -> l -> m (LChan l a)
- writeLChan :: (MonadLIO l m, Label l) => LChan l a -> a -> m ()
- writeLChanP :: (MonadLIO l m, PrivDesc l p) => Priv p -> LChan l a -> a -> m ()
- readLChan :: (MonadLIO l m, Label l) => LChan l a -> m a
- readLChanP :: (MonadLIO l m, PrivDesc l p) => Priv p -> LChan l a -> m a
- dupLChan :: (MonadLIO l m, Label l) => LChan l a -> m (LChan l a)
- dupLChanP :: (MonadLIO l m, PrivDesc l p) => Priv p -> LChan l a -> m (LChan l a)
Documentation
writeLChan :: (MonadLIO l m, Label l) => LChan l a -> a -> m () Source #
See writeLChan
.
writeLChanP :: (MonadLIO l m, PrivDesc l p) => Priv p -> LChan l a -> a -> m () Source #
See writeLChanP
.
readLChanP :: (MonadLIO l m, PrivDesc l p) => Priv p -> LChan l a -> m a Source #
See readLChanP
.