[Haskell-cafe] MonadPlus

Rich Neswold rich.neswold at gmail.com
Fri May 9 15:47:38 EDT 2008


On Fri, May 9, 2008 at 2:39 PM, Andrew Coppin <andrewcoppin at btinternet.com>
wrote:

> [In a somewhat unrelated question... I saw some code the other day that
> used Either as if it were a monad. And yet, I don't see an instance given in
> the standard libraries - even though there should be one. I can see Functor
> (Either a), but not Monad (Either a) or even Monad (Either String)...]


It's used in the Error Monad.

-- 
Rich

JID: rich at neswold.homeunix.net
LOI: https://www.google.com/reader/shared/00900594587109808626
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080509/6ab40d58/attachment.htm


More information about the Haskell-Cafe mailing list