[Haskell-cafe] What is MonadPlus good for?

Benjamin Pierce bcpierce at cis.upenn.edu
Sat Feb 12 13:47:06 EST 2005


> As a start, free access to countless general functions as soon as
> you define a MonadPlus instance for your datatype. (Errr, `guard'
> and `msum', as long as one stays within the Haskell98 standard
> libraries ;)

Yes, those are good examples.  (But I'd still be interested to see some of
the countless others... :-)

Thanks,

    - Benjamin



More information about the Haskell-Cafe mailing list