I'm using the November 99 Hugs on an x86 running Linux.
It seems to be hanging when it tries to access a dictionary
through a superclass. Here's the simplest program
I can come up with that exhibits the bug.
> class Eq a => Super c a where
> empty :: c a
> class Super c a => Sub c a where
> f :: c a -> Bool
> g :: c a -> Bool
>
> instance Eq a => Super [] a
> instance Eq a => Sub [] a where
> f [x,y] = x == y
> g [x,y] = True
>
> p :: [Int]
> p = [1,2]
Now, when I say
g p
it immediately returns True as expected. But when I say
f p
it hangs.
Chris