Documentation
mapM :: Monad m => (a -> m b) -> [a] -> m [b]
sequence :: Monad m => [m a] -> m [a]
Evaluate each action in the sequence from left to right,
and collect the results.
sequence_ :: Monad m => [m a] -> m ()
Evaluate each action in the sequence from left to right,
and ignore the results.
(=<<) :: Monad m => (a -> m b) -> m a -> m b infixr 1
Same as >>=
, but with the arguments interchanged.