[GHC] #9835: Add bindings for marshaling to/from mpz_t
GHC
ghc-devs at haskell.org
Tue Nov 25 22:41:54 UTC 2014
#9835: Add bindings for marshaling to/from mpz_t
-------------------------------------+-------------------------------------
Reporter: dfranke | Owner:
Type: feature | Status: new
request | Milestone:
Priority: normal | Version: 7.8.3
Component: libraries | Keywords: integer-gmp
(other) | Architecture: Unknown/Multiple
Resolution: | Difficulty: Unknown
Operating System: | Blocked By:
Unknown/Multiple | Related Tickets:
Type of failure: |
None/Unknown |
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Comment (by hvr):
For one, `integer-gmp` has been completely rewritten, see #9281. Otoh,
things like this should easily be implementable outside of `integer-gmp`
in a 3rd party package.
Alas, conversions between `Integer` and a `Mpz` pointer will involve
allocations and `memcpy`s
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9835#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list