RE: GMP from haskell

2002-05-29 Thread Simon Marlow
> I should have been more specific :). I was referring to the more > complicated things, such as Lucas numbers, Binomial coefficients, etc. There isn't a full GMP binding as such. However, we do make use of more than just the simple arithmetic in GMP - for example, Prelude.gcd on Integers uses

Re: GMP from haskell

2002-05-29 Thread Hal Daume III
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| [EMAIL PROTECTED] than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume O

Re: GMP from haskell

2002-05-29 Thread Malcolm Wallace
Hal Daume III <[EMAIL PROTECTED]> writes: > 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? The type Integer? Regards, Malcolm

Re: GMP from haskell

2002-05-28 Thread Manuel M. T. Chakravarty
Hal Daume III <[EMAIL PROTECTED]> 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 Hask