protolude-0.1.10: A sensible set of defaults for writing custom Preludes.

Safe HaskellSafe
LanguageHaskell2010

Bool

Documentation

whenM :: Monad m => m Bool -> m () -> m () Source #

unlessM :: Monad m => m Bool -> m () -> m () Source #

ifM :: Monad m => m Bool -> m a -> m a -> m a Source #

guardM :: MonadPlus m => m Bool -> m () Source #

bool :: a -> a -> Bool -> a Source #