Quoth Vo Minh Thu <not...@gmail.com>,
...
> 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, d...@avvanta.com

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to