[GHC] #3041: Arch independent binary representations
GHC
trac at galois.com
Tue Mar 3 11:41:48 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: | Difficulty: Unknown
Testcase: | Os: Linux
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Changes (by simonmar):
* difficulty: => Unknown
Comment:
The problem here is not that GHC's Binary library has an instance for
`Int`, it is that Haddock uses GHC's `Binary` library at all. GHC's
`Binary` library is for serialising interface files, and since interface
files can be platform-specific it doesn't matter that we have a platform-
specific instance for `Int`.
I think Haddock should either use a local copy of Binary with a platform-
independent serialisation format (like it used to! :-) or it should use
`Data.Binary`. The latter adds a new dependency to GHC, but in the long
run that's not a disaster. For a quick fix, the former solution will do
fine.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3041#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list