TP :
However, it seems it is not possible to do that:
-------------------
instance Num [Int] where
l1 + l2 = ....
-------------------
Why?
Why not?? It is possible.
All what has been said by other people is right.
But you can do it your way as well, GHC won't protest if you :set
-XFlexibleInstances .
(Then you might have some other "small" problems, but nobody is perfect).
Jerzy Karczmarczuk
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe