>Hi,

>If I have the folowwing declaration:

>class Soup where
>...
>
>instance Soup String where
>...
>
>instance Soup t => Soup [t] where
>...
>
>This will lead to an error: "instance overlapping".
>
>Is there anyway to solve this? 

Yes -- if you are using Hugs98 then you need to use the command line option
+o, which enables support for overlapping instances. 

Dan Russell
Kingston University


Reply via email to