The gnu web page (www.gnu.org/manual/gmp-4.0.1/html_node/gmp_70.html) claims that Haskell (GHC) has bindings to GMP. Is this true? How can I access these routines? - Hal -- Hal Daume III "Computer science is no more about computers | hdaume@isi.edu than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume
Hal Daume III
The gnu web page (www.gnu.org/manual/gmp-4.0.1/html_node/gmp_70.html) claims that Haskell (GHC) has bindings to GMP. Is this true? How can I access these routines?
For example, by Prelude> 1 + 2 :: Integer 3 Prelude> GHC implements Haskell's arbitrary precision integers by way of GMP. Cheers, Manuel
I should have been more specific :). I was referring to the more complicated things, such as Lucas numbers, Binomial coefficients, etc. -- Hal Daume III "Computer science is no more about computers | hdaume@isi.edu than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume On Wed, 29 May 2002, Manuel M. T. Chakravarty wrote:
Hal Daume III
wrote, The gnu web page (www.gnu.org/manual/gmp-4.0.1/html_node/gmp_70.html) claims that Haskell (GHC) has bindings to GMP. Is this true? How can I access these routines?
For example, by
Prelude> 1 + 2 :: Integer 3 Prelude>
GHC implements Haskell's arbitrary precision integers by way of GMP.
Cheers, Manuel
participants (3)
-
Hal Daume III -
Malcolm Wallace -
Manuel M. T. Chakravarty