[GHC] #7644: Hackage docs for base library contain broken links

GHC cvs-ghc at haskell.org
Thu Jan 31 15:13:25 CET 2013


#7644: Hackage docs for base library contain broken links
-----------------------------+----------------------------------------------
Reporter:  JulesBean         |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Compiler        
 Version:  7.6.1             |       Keywords:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
 Failure:  None/Unknown      |      Blockedby:                  
Blocking:                    |        Related:                  
-----------------------------+----------------------------------------------
 http://hackage.haskell.org/packages/archive/base/4.6.0.0/doc/html/GHC-
 IOArray.html

 Is a 404, presumably because it's {{{ {-# HADDOCK_OPTIONS hide #-} }}} so
 the haddocks don't get documented?

 However it is linked to from the master index

 http://hackage.haskell.org/package/base-4.6.0.0

 ...which as far as I can see has links to all modules irrespective of
 whether they are hidden or not.

 A different example relates to source links:

 If you look at the Prelude docs here:

 http://hackage.haskell.org/packages/archive/base/4.6.0.0/doc/html/Prelude.html

 Then some of the source links point to URLs like

 http://hackage.haskell.org/packages/archive/%01/%02/doc/html/src/GHC-
 Classes.html#Ord

 ...which looks like some substitution operation has failed (%01 -> package
 name, %02 -> version, I presume). An attempt to manually fix the package
 name and version still leads to a 404.

 Some other source links from the Prelude are fine, though, for example:

 http://hackage.haskell.org/packages/archive/base/4.6.0.0/doc/html/src/GHC-
 Enum.html#Enum

 This is a regression but I don't know how recently; I certainly used to be
 able to follow links like that back in the 7.0 era, but I don't when it
 started failing.

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



More information about the ghc-tickets mailing list