Addenda: GHC 3.00 Error when introducing an ErrorMonad

1998-02-06 Thread Einar Wolfgang Karlsen
Regarding my previous mail: The problem is caused by the definition of catchall that uses the operation catch of the IO monad rather than the more general class operation trap of ErrorMonad. The previous definition is: catchall c1 c2 = catch c1 (\_ - c2) which should be:

GHC 3.00 Error when introducing an ErrorMonad

1998-02-06 Thread Einar Wolfgang Karlsen
-- X-Sun-Data-Type: text X-Sun-Data-Description: text X-Sun-Data-Name: text X-Sun-Charset: us-ascii X-Sun-Content-Lines: 27 While experimenting with multiple parameter type classes, I introduced an ErrorMonad. Compiling this with GHC 3.00, the following happened: Computation.hs:16:

Re: GHC 3.00 Error when introducing an ErrorMonad

1998-02-06 Thread Simon L Peyton Jones
While experimenting with multiple parameter type classes, I introduced an ErrorMonad. Compiling this with GHC 3.00, the following happened: Computation.hs:16: Warning: `ErrorMonad' mentioned twice in export list I'll look into this. panic! (the `impossible' happened):