Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
- data Workers a
- data Result a
- newResult :: a -> IO (Result a)
- emptyResult :: IO (Result a)
- addResult :: Monad m => Result (m a) -> m a -> IO (m a)
- getResult :: Result a -> IO a
- emptyWorkers :: IO (Workers a)
- failWorkers :: Workers a -> IO ()
- getWorkers :: Workers a -> IO [Async a]
- addWorker :: Workers a -> Async a -> IO ()
- waitForWorkers :: Workers a -> IO ()
- waitForWorkers' :: Workers a -> IO [a]