
2 May
2009
2 May
'09
6:24 a.m.
Henning Thielemann
Paul Keir schrieb:
There's nothing better than making a data type an instance of Num. In particular, fromInteger is a joy. But how about lists?
http://www.haskell.org/haskellwiki/Num_instance_for_functions http://www.haskell.org/haskellwiki/Type_classes_are_for_reusability
Hear, hear! -- Jón Fairbairn Jon.Fairbairn@cl.cam.ac.uk http://www.chaos.org.uk/~jf/Stuff-I-dont-want.html (updated 2009-01-31)