
14 Jul
2003
14 Jul
'03
1:36 p.m.
Dnia pon 14. lipca 2003 10:18, Graham Klyne napisaĆ:
I must be missing something... isn't the effect achieved by: class (Add a, Subtract a, FromInteger a, Eq a, Multiply a, ...) => Num a ?
It doesn't provide instances of Num for anything which is already an instance of the other classes. And in Haskell 98 they must be defined separately for each type, instance (...) => Num a doesn't work. -- __("< Marcin Kowalczyk \__/ qrczak@knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/