|
|
|
| Description |
| An MChan is a combination of a Map and a TChan.
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
| MChan is an abstract type representing a keyed, unbounded FIFO channel
| Instances | |
|
|
|
| Builds and returns a new instance of MChan
|
|
|
| IO version of newMChan. This is useful for creating top-level
MChans using System.IO.Unsafe.unsafePerformIO, because using
atomically inside System.IO.Unsafe.unsafePerformIO isn't safe.
|
|
|
| Read the next value from an MChan. If the specified key doesn't
exist (or is removed while waiting), it returns Nothing.
|
|
|
| Write a value to an MChan. Returns false and discards the value
if the specified key doesn't exist.
|
|
|
| Write a value to an MChan, creating the key if it doesn't exist.
|
|
|
| Checks whether the key exists
|
|
|
| Creates the key if it doesn't already exist
|
|
|
| Delete a key from an MChan
|
|
| Produced by Haddock version 2.6.1 |