> After trying a bit more, I found out how to fix the problem.
> 
> 
> > data Blah = Blah
> 
> > type Tuple = (Blah,Int)
> 
> > instance Eq   Blah
> > instance Ord  Blah
> > instance Read Blah
> > instance Show Blah
> 
> Adding the previous 4 dummy instance declarations makes
> this fragment to become acceptable to ghc-3.00.
> 
> > instance Show Tuple where
> >   showsPrec _ _ _
> >     = error []


Well it *shouldn't* have fixed the problem!
instance Show Tuple overlaps with instance Show (a,b).

Now that's a bug!

(The proper way to fix the problem is to define Tuple as a 
new type.)

S

Reply via email to