On Mon, 01 Dec 2003 18:10:44 +0000
Graham Klyne <[EMAIL PROTECTED]> wrote:

> At:
> 
>    http://www.haskell.org/hawiki/MonadError
> 
> I see:
> [[
> instance Monad (Either e) where
>      return = Right
>      (Left e) >>= _ = e
>      (Right a) >>= f = f a
> ]]
> 
> Shouldn't that be:
> [[
>      (Left e) >>= _ = Left e
> ]]
> 
> ?

Yes, good thing it's on a wiki ;)

_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to