GMP from haskell
Hal Daume III
hdaume@ISI.EDU
Wed, 29 May 2002 07:01:26 -0700 (PDT)
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 <hdaume@ISI.EDU> 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
>