[haddock] #96: .haddock files not platform independent

haddock haddock at projects.haskell.org
Wed Mar 4 12:08:09 EST 2009


#96: .haddock files not platform independent
-------------------+--------------------------------------------------------
Reporter:  waern   |       Owner:       
    Type:  defect  |      Status:  new  
Priority:  major   |   Milestone:  2.5.0
 Version:  2.4.1   |    Keywords:       
-------------------+--------------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.haskell.org/haddock/ticket/96>
haddock <http://www.haskell.org/haddock>
Haddock, The Haskell Documentation Tool


More information about the Haddock mailing list