Bignums in Haskell

Serge D. Mechveliani mechvel at
Tue Jun 21 07:58:12 EDT 2005

On Tue, Jun 21, 2005 at 07:37:08AM -0400, Marco Morazan wrote:
> Hello all,
> Do any of you have insight into why GHC uses GMP as opposed to another
> library for arbitrary precision numbers? Also, why would bignums not
> be directly implemented for the GHC or other implementations of
> Haskell?

Efficient arithmetic algorithms for large numbers is a matter of 
mathematics. Such algorithms, and libraries, are developed by the 
best experts in computational mathematics. Maybe, GMP is such.


Serge Mechveliani
mechvel at

More information about the Glasgow-haskell-users mailing list