Quoth Vo Minh Thu <[email protected]>,
...
> Control.Monad.Error provides an instance for Either.
... in the mtl transformer library, in case anyone else besides
myself didn't know that. And I see it has to be there because
it depends on the Error typeclass.
(So the documentation for Control.Monad.Error, is mistaken, where
at the top it says
Example type:
Either String a
... which should be
Either Error a
... ? Though I can't really be sure what the documentation is
trying to say.)
Donn Cave, [email protected]
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe