[GHC] #3041: Arch independent binary representations

GHC trac at galois.com
Tue Feb 24 17:00:49 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 dons):

 N.B. this isnt' referring to Data.Binary, which serialises as:

 {{{
 -- Ints are are written as Int64s, that is, 8 bytes in big endian format
 instance Binary Int where
     put i   = put (fromIntegral i :: Int64)
     get     = liftM fromIntegral (get :: Get Int64)
 }}}

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


More information about the Glasgow-haskell-bugs mailing list