monad-parallel-progressbar-0.1.0.1: Parallel execution of monadic computations with a progress bar

Safe HaskellNone
LanguageHaskell2010

Control.Monad.Parallel.ProgressBar

Synopsis

Documentation

sequence Source

Arguments

:: (MonadIO m, MonadParallel m) 
=> Label

Prefixed label

-> Label

Postfixed label

-> Integer

Total progress bar width in characters

-> [m a] 
-> m [a] 

Execute the actions in parallel with a progress bar. For detail of the progress bar, see System.ProgressBar.

sequence_ :: (MonadIO m, MonadParallel m) => Label -> Label -> Integer -> [m a] -> m () Source

mapM :: (MonadIO m, MonadParallel m) => Label -> Label -> Integer -> (a -> m b) -> [a] -> m [b] Source

mapM_ :: (MonadIO m, MonadParallel m) => Label -> Label -> Integer -> (a -> m ()) -> [a] -> m () Source

forM :: (MonadIO m, MonadParallel m) => Label -> Label -> Integer -> [a] -> (a -> m b) -> m [b] Source

forM_ :: (MonadIO m, MonadParallel m) => Label -> Label -> Integer -> [a] -> (a -> m ()) -> m () Source