Chan is an abstract type representing an unbounded FIFO channel.
Modulelifted-base-0.2.3.12Haskell98
Control.Concurrent.Chan.Lifted
This is a wrapped version of Control.Concurrent.Chan with types generalised from IO to all monads in MonadBase.
Chan.unGetChan and Chan.isEmptyChan are deprecated in base, therefore
they are not included here. Use Control.Concurrent.STM.TVar instead.
Synopsis
- data Chan
- value newChan
- value writeChan
- value readChan
- value dupChan
- value getChanContents
- value writeList2Chan
- Packagelifted-base-0.2.3.12
- Exports7
- LanguageHaskell98
- LicenceBSD-3-Clause
- SourceLifted.hs
Generalized version of newChan.
Generalized version of writeChan.
Generalized version of readChan.
Generalized version of dupChan.
Generalized version of getChanContents.
Generalized version of writeList2Chan.