Simon & Simon away

Simon Peyton-Jones simonpj at microsoft.com
Thu Jun 10 16:37:21 EDT 2004


The reason that Simon and I are quiet this week is that Simon is on holiday and I'm at PLDI.  We'll be back in action next week.

Simon

| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-haskell-users-
| bounces at haskell.org] On Behalf Of John Meacham
| Sent: 10 June 2004 01:15
| To: glasgow-haskell-users at haskell.org
| Subject: GMP
| 
| I was curious what the best way would be to access the various useful
| GMP functions which are not exported for Integers. I was thinking of
| making my own (strict) Integer type, but it would be much easier if I
| can just use the FFI to import the required functions and get at the
| mpz_t inside Integers somehow.
| 
| I am not positive, but it looks like ghc seems to have primitives which
| call the gmp functions internally rather than using the FFI.. At least I
| didn't see an obvious example poking around in the library.
| 
| Has someone already done this? a Math.Integer.Advanced (or something)
| library would be quite a useful addition to ghc.
|         John
| --
| John Meacham - ⑆repetae.net⑆john⑈
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


More information about the Glasgow-haskell-users mailing list