looking for data structure advice
Tomasz Zielonka
t.zielonka at students.mimuw.edu.pl
Sun Dec 14 11:30:32 EST 2003
On Fri, Dec 12, 2003 at 08:55:59PM +0000, Graham Klyne wrote:
> At 14:17 12/12/03 -0500, Derek Elkins wrote:
> >This will also provide a migration path if you want a more featureful
> >monad. (or_maybe is mplus, fail or mzero can be used for Nothing when
> >you explicitly want to fail).
>
> Is this or_maybe (and friends) actually defined in any of the standard
> libraries? (Google found only one hit, in an old IRC log.)
mplus and mzero are methods in class MonadPlus, which you'll found in
module Monad. There is an instance of MonadPlus for Maybe.
Best regards,
Tom
--
.signature: Too many levels of symbolic links
More information about the Haskell-Cafe
mailing list