#7860: Add more bit fiddling functions to 'integer-gmp' --------------------------------+------------------------------------------- Reporter: lebedev | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: libraries (other) | Version: 7.6.3 Resolution: | Keywords: gmp Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: #3489 --------------------------------+------------------------------------------- Comment(by igloo): I suspect we'd want to refactor things so that {{{ clearBitInteger (S# j) i = S# (clearBitInt j i) }}} (and similarly share code where possible for the other functions). -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7860#comment:9> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler