#5419: integer-gmp no longer exports S# and J#
-----------------------------------+----------------------------------------
    Reporter:  mikhail.vorozhtsov  |       Owner:                   
        Type:  bug                 |      Status:  new              
    Priority:  normal              |   Component:  libraries (other)
     Version:  7.3                 |    Keywords:                   
    Testcase:                      |   Blockedby:                   
          Os:  Unknown/Multiple    |    Blocking:                   
Architecture:  Unknown/Multiple    |     Failure:  None/Unknown     
-----------------------------------+----------------------------------------

Comment(by tibbe):

 I don't quite understand the motivation for this change:

 {{{
 No need to export Integer from GHC.Integer.GMP.Internals

 This caused an odd dependency in the module hierarchy.
 }}}

 Could someone please elaborate on what this odd dependency is?

 We do need to export the constructors somewhere as some algorithms can
 only be implemented efficiently in terms of them (e.g. hexadecimal
 encoding of `Integer`s).

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to