This commit is contained in:
Joey Hess 2011-07-16 15:09:57 -04:00
parent 13187b1ba7
commit 6a58f61d28

View file

@ -288,6 +288,6 @@ unlessM c a = c >>= flip unless a
(>>!) :: Monad m => m Bool -> m () -> m ()
(>>!) = unlessM
-- low fixity allows eg, foo bar <|> error $ "failed " ++ meep
-- low fixity allows eg, foo bar >>! error $ "failed " ++ meep
infixr 0 >>?
infixr 0 >>!