How overload operator in Haskell?

Ashley Yakeley ashley@semantic.org
Thu, 10 Jul 2003 23:07:21 -0700


In article <16140.55249.147965.603167@cerise.nosuchdomain.co.uk>,
 Glynn Clements <glynn.clements@virgin.net> wrote:

> > instance Num Vector where
> 
> Except that class instances have to be algebraic datatypes ("data") or
> renamed datatypes ("newtype"), but not type synonyms ("type").

That's not true, is it? I mean as long as there isn't already some 
overlapping instance, I think it's quite OK.

-- 
Ashley Yakeley, Seattle WA