[Haskell-cafe] fromInteger for Lists

Henning Thielemann schlepptop at henning-thielemann.de
Fri May 1 19:39:07 EDT 2009


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



More information about the Haskell-Cafe mailing list