[Haskell] Bignums in Haskell

robert dockins robdockins at fastmail.fm
Tue Jun 21 09:25:32 EDT 2005


> Thank you for the prompt response. Do  you have any insight as to why
> the GMP library is used instead of another library for arbitrary
> precision? Also, I understand that Haskell does not specify an
> implementation for bignums, but why would the developers of GHC not
> implement bignums directly instead of using an outside library?

Unfortunately, I don't have the answers to those questions; I'm not 
really a GHC hacker.  I would speculate however that the reasons are 
largely practical in nature: GMP already exists, is pretty dang fast, 
and is fairly portable.

Robert Dockins



More information about the Haskell mailing list