MonadPlus Reform

Ashley Yakeley ashley at semantic.org
Tue Mar 21 20:43:29 EST 2006


Does this come under the "standard libraries" topic? I would like to see 
the MonadPlus class disambiguated:

class Monad m => MonadZero m where
    mzero :: m a
class MonadZero m => MonadPlus m where
    mplus :: m a -> m a -> m a
class MonadZero m => MonadOr m where
    morelse :: m a -> m a -> m a

<http://haskell.org/haskellwiki/MonadPlus_reform_proposal>

-- 
Ashley Yakeley, Seattle WA
WWED? http://www.cs.utexas.edu/users/EWD/



More information about the Haskell-prime mailing list