[GHC] #3041: Arch independent binary representations

GHC trac at galois.com
Sat Feb 21 17:28:16 EST 2009


#3041: Arch independent binary representations
-----------------------------+----------------------------------------------
 Reporter:  nomeata          |          Owner:                  
     Type:  feature request  |         Status:  new             
 Priority:  normal           |      Milestone:                  
Component:  Compiler         |        Version:  6.10.1          
 Severity:  normal           |     Resolution:                  
 Keywords:                   |       Testcase:                  
       Os:  Linux            |   Architecture:  Unknown/Multiple
-----------------------------+----------------------------------------------
Comment (by nomeata):

 I think it affects (at least):
  * Int, as the basic culprit. Change the Binary instance of Int, fixes all
 the following cases.
  * FastString, for the length variable
  * PackageId, ModuleName, as they are FastString newtypes (so either the
 FastString instance has to be changed, or copied and “arch-independized”
 for PackageId, ModuleName
  * OccName, builds on NameSpace and FastString

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


More information about the Glasgow-haskell-bugs mailing list