Compiling the code fragment appended at the end of this
message, ghc-2.03 fails with the following output:

  Glasgow Haskell Compiler, version 2.03, for Haskell 1.4


  panic! (the `impossible' happened):
          tcLookupTyVar:a_r6v

  Please report it as a compiler bug to [EMAIL PROTECTED]


Hope this helps.

Regards,


Marc

************************************************************************

> module Group( Group ) where

> import qualified Prelude( Num(..) )
> import Prelude hiding ( Num(..) )

> class Group a where
>   fromInteger :: Integer -> a
>   (-)         :: a -> a -> a
>   negate      :: a -> a
>   negate p
>     = (0::a) - p

Reply via email to