[jhc] Integer for JHC
John Meacham
john at repetae.net
Thu Jul 3 20:52:37 UTC 2014
It should work, when I looked at it before it wasn't written to be
that efficient, more of a proof of concept.
the main reason I have not included something in jhc so far is holding
out hope someone will implement a pure haskell Integer that is
suitable, I don't want to put any magic in jhcs rts since for embedded
platforms you want things like Char to be 8 bits and maybe a 16 bit
Int or something, making sure the Integer code doesn't accidentally
sneak in would come for free were it written in normal haskell.
A library using the standard FFI to link to gmp would also be useful.
jhc allows overlapping module names so no magic would be needed to
switch between them, you would just bring libraries with different
Prelude's into scope.
John
On Tue, Jul 1, 2014 at 1:29 PM, Henning Thielemann
<schlepptop at henning-thielemann.de> wrote:
> Would this package help JHC to get a real Integer type?
>
> http://hackage.haskell.org/package/integer-pure
--
John Meacham - http://notanumber.net/
More information about the jhc
mailing list