Re: Status of GHC runtime dependency on GNU multi precision arithmetic library

2007-08-22 Thread Isaac Dupree
Isaac Dupree wrote: Stefan O'Rear wrote: Another possibility that occured to me recently, is to switch Integer to a simpler (perhaps even pure-Haskell) representation, and provide (core? extra? Hackage?) a hsgmp package. If you have big numbers, switching is easy: import Prelude hiding(Integ

Re: Status of GHC runtime dependency on GNU multi precision arithmetic library

2007-08-22 Thread Isaac Dupree
Stefan O'Rear wrote: Another possibility that occured to me recently, is to switch Integer to a simpler (perhaps even pure-Haskell) representation, and provide (core? extra? Hackage?) a hsgmp package. If you have big numbers, switching is easy: import Prelude hiding(Integer) import Data.Integ

Re: Status of GHC runtime dependency on GNU multi precision arithmetic library

2007-08-22 Thread Stefan O'Rear
On Wed, Aug 22, 2007 at 10:32:36AM +0100, Simon Peyton-Jones wrote: > | There is an interest in removing GMP, motivated partly by licensing but > | also due to portabiltity concerns and the fact that the use of GHC's > | memory manager in GMP prevents FFI code from using GMP safely. > | > | http://

RE: Status of GHC runtime dependency on GNU multi precision arithmetic library

2007-08-22 Thread Simon Peyton-Jones
| > I know this is a sensitive issue and I absolutely don't want to start any | > kind of discussion about the merits or otherwise of LGPL, but I was | > wondering if there are any plans to remove the GNU mp library from the | > runtime so that it would be possible to distribute native executables