#2559: Haddock: Prelude docs are missing Bool, Int, Integer
---------------------------+------------------------------------------------
 Reporter:  simonmar       |          Owner:             
     Type:  bug            |         Status:  new        
 Priority:  normal         |      Milestone:  6.10 branch
Component:  Documentation  |        Version:  6.8.3      
 Severity:  normal         |     Resolution:             
 Keywords:                 |     Difficulty:  Unknown    
 Testcase:                 |   Architecture:  Unknown    
       Os:  Unknown        |  
---------------------------+------------------------------------------------
Changes (by igloo):

  * priority:  high => normal
  * owner:  igloo =>
  * severity:  major => normal
  * milestone:  6.10.1 => 6.10 branch

Comment:

 There are two parts to this.

 One is that we need to give haddock the interface files for the transitive
 dependencies, not just the direct dependencies, as it needs to know what
 ghc-prim has and where to make the HTML links point. This is now fixed in
 Cabal.

 The other part is that types like `Bool` aren't appearing in
 `modInfoTyThings`. For haddock, we can work around this by explicitly
 exporting them, so we now do have docs in the libraries. However, we ought
 to fix the root cause for other GHC API users.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2559#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to