libcspm-1.0.0: A library providing a parser, type checker and evaluator for CSPM.
Util.Monad
Description
Misc utility functions that are defined on monads.
concatMapM :: Monad m => (a -> m [b]) -> [a] -> m [b]Source
andM :: Monad m => [m Bool] -> m BoolSource
orM :: Monad m => [m Bool] -> m BoolSource
($$) :: Monad m => m (a -> b) -> m a -> m bSource
whenM :: Monad m => m Bool -> m () -> m ()Source