Bignums in Haskell

Ketil Malde ketil+haskell at ii.uib.no
Tue Jun 21 07:46:40 EDT 2005


Marco Morazan <morazanm at gmail.com> writes:

> Do any of you have insight into why GHC uses GMP as opposed to another
> library for arbitrary precision numbers? 

Did you have any particular other library in mind?  I'm not too
well-versed in this, but I think GMP is fairly efficient, well tested
and portable.  So why not?

> Also, why would bignums not be directly implemented for the GHC or
> other implementations of Haskell?

I guess it shouldn't be too hard, but again, when somebody else
already has done the work... 

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants



More information about the Glasgow-haskell-users mailing list