#9281: Rewrite `integer-gmp` to use only non-allocating GMP functions -------------------------------------+------------------------------------- Reporter: hvr | Owner: hvr Type: task | Status: patch Priority: normal | Milestone: 7.10.1 Component: Core | Version: Libraries | Keywords: integer-gmp Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: #8647 None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D82 | -------------------------------------+------------------------------------- Comment (by Herbert Valerio Riedel <hvr@…>): In [changeset:"8d7831108644584f710515b39b9fc97fbeca7a4c/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="8d7831108644584f710515b39b9fc97fbeca7a4c" Re-implement `nextPrimeInteger` predicate (#9281) This also adds `nextPrimeWord#` and `nextPrimeBigNat` predicates. `nextPrimeInteger` has been available since `integer-gmp-0.5.1` (added via f49735486533842cc84df70cafc8d565dffd75db). }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9281#comment:25> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler