Ticket #96 (closed defect: fixed)

Opened 5 years ago

Last modified 22 months ago

.haddock files not platform independent

Reported by: waern Owned by:
Priority: major Milestone:
Version: 2.4.1 Keywords:
Cc:

Description

We switched from using our own version of GHC's Binary class to using the one in GHC in order to re-use instances for GHC's data types.

As a result of this, .haddock files are not platform independent anymore, which causes inconvenience for people who create haskell packages for e.g. Linux distros.

The change of Binary class was not very well motivated, and has caused us a lot of pain. IIRC the only motivation was to be able to re-use instances for GHC's data types, but at the moment the only data types from GHC that we store in the files are Name and Module.

To solve this we could either go back to having our own Binary class, or use Data.Binary.

Change History

Changed 4 years ago by marcot

  • status changed from new to closed
  • resolution set to fixed

This issue is resolved, now that GHC has changed it's internal Binary to make Int serialized as Int64. Check http://hackage.haskell.org/trac/ghc/ticket/3041 .

Changed 22 months ago by anonymous

  • milestone 2.5.0 deleted

Milestone 2.5.0 deleted

Note: See TracTickets for help on using tickets.