[Haskell-cafe] Error on instance of Control.Exception.Exception

Felipe Lessa felipe.lessa at gmail.com
Sun Feb 22 20:01:59 EST 2009


On Sun, Feb 22, 2009 at 9:41 PM, Maurí­cio <briqueabraque at yahoo.com> wrote:
> www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Exception.html

These are the docs for the latest GHC version.

> Type constructor `Exception' used as a class
> In the instance declaration for `Exception DbError'

What GHC version do you have? Old base packages (< 4, IIRC) don't have
extensible exceptions and 'Exception' is just an ADT.

HTH,

-- 
Felipe.


More information about the Haskell-Cafe mailing list