This commit is contained in:
Joey Hess 2012-11-02 12:48:52 -04:00
parent 70b9d3ae68
commit ec7a51727a

View file

@ -46,8 +46,8 @@ ma <||> mb = ifM ma ( return True , mb )
ma <&&> mb = ifM ma ( mb , return False )
{- Same fixity as && and || -}
infixr 3 (<&&>)
infixr 2 (<||>)
infixr 3 <&&>
infixr 2 <||>
{- Runs an action, passing its value to an observer before returning it. -}
observe :: Monad m => (a -> m b) -> m a -> m a