libcspm-0.2.1: A library providing a parser, type checker and evaluator for CSPM.

Util.Monad

Description

Misc utility functions that are defined on monads.

Documentation

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