[GHC] #9835: Add bindings for marshaling to/from mpz_t

GHC ghc-devs at haskell.org
Tue Nov 25 23:14:33 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 dfranke):

 > Things like this should easily be implementable outside of integer-gmp
 in a 3rd party package.

 I wrote it this morning :-). But since it relies on internals of both
 integer-gmp (treating `Integer` non-opaquely) and libgmp (treating `struct
 __mpz_struct` non-opaquely), I think having it merged into integer-gmp
 would create fewer maintenance headaches.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9835#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list