| 
| Control.Concurrent.Chan | | Portability | non-portable (concurrency) |  | Stability | experimental |  | Maintainer | libraries@haskell.org |  
  |  
  | 
 | 
 | 
 | 
| Description | 
| Unbounded channels.
 | 
 | 
| Synopsis | 
 | 
 | 
 | 
 | 
| The Chan type
 | 
 | 
 | 
| Chan is an abstract type representing an unbounded FIFO channel.
 |    Instances |   |  
  | 
 | 
| Operations
 | 
 | 
 | 
| Build and returns a new instance of Chan.
 | 
 | 
 | 
| Write a value to a Chan.
 | 
 | 
 | 
| Read the next value from the Chan.
 | 
 | 
 | 
| Duplicate a Chan: the duplicate channel begins empty, but data written to
 either channel from then on will be available from both.  Hence this creates
 a kind of broadcast channel, where data written by anyone is seen by
 everyone else.
 | 
 | 
 | 
| Put a data item back onto a channel, where it will be the next item read.
 | 
 | 
 | 
| Returns True if the supplied Chan is empty.
 | 
 | 
| Stream interface
 | 
 | 
 | 
| Return a lazy list representing the contents of the supplied
 Chan, much like System.IO.hGetContents.
 | 
 | 
 | 
| Write an entire list of items to a Chan.
 | 
 | 
| Produced by Haddock version 2.4.2 |