At 2001-05-08 03:07, Markus Lauer wrote:

>Hugs sais ERROR Test.hs:20 - syntax error in instance head (constructor 
>           expected)

Invoke as 'hugs -98' to switch on extensions. Hugs will then complain of 
overlapping instances:

instance FooList Char
instance Foo a => FooList a

Yes, I know Char is not an instance of Foo. See the "Anomalous Class 
Fundep Inference" thread.

-- 
Ashley Yakeley, Seattle WA


_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to