Copyright | (c) Philipps Universitaet Marburg 2012- |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | eden@mathematik.uni-marburg.de |
Stability | beta |
Portability | not portable |
Safe Haskell | None |
Language | Haskell98 |
Provides an implementation of nmergeIO (as previously available from Control.Concurrent in base package). Eden language definition assumes merge functionality as a base construct.
Eden Group Marburg ( http://www.mathematik.uni-marburg.de/~eden )
- nmergeIO_E :: [[a]] -> IO [a]
Non-deterministic merge of lists into one result list.
Previously available in Concurrent Haskell, living here from GHC-7.6 on. This function merges incoming lists non-deterministically into one result. Its implementation in this module follows the pattern of the previous one from Control.Concurrent, but uses the old simple semaphore implementation, and optimises the case of only one remaining list.
nmergeIO_E :: [[a]] -> IO [a] Source