[Haskell-cafe] Re: MonadList?
Ashley Yakeley
ashley at semantic.org
Tue Sep 19 22:36:49 EDT 2006
Michael Shulman wrote:
> This is because (ErrorT e []) inherits its
> instance of MonadPlus from Error, not from []. (Is there a reason for
> this, or is it just assumed that this is the more frequently desired
> behavior?)
It's a flaw in MonadPlus, since it allows two different behaviours and
really should be two different classes. See
<http://haskell.org/haskellwiki/MonadPlus>.
--
Ashley Yakeley
More information about the Haskell-Cafe
mailing list