[Haskell-cafe] Natural Numbers: Best implementation?

Roman Cheplyaka roma at ro-che.info
Fri Mar 13 04:21:05 EDT 2009


* Alexander Dunlap <alexander.dunlap at gmail.com> [2009-03-12 20:01:57-0700]
> Also, a lot of functions just take
> Integers so it would be more of a pain to use.

AFAIK there are very few fuctions that take Integers. Many functions
take instances of Integral, but it's not a problem to make your own type
such an instance.

-- 
Roman I. Cheplyaka :: http://ro-che.info/
"Don't let school get in the way of your education." - Mark Twain


More information about the Haskell-Cafe mailing list