:: Monad m => m Bool -> m () -> m () package:ghc

Monadic version of when, taking the condition in the monad
Monadic version of unless, taking the condition in the monad