extra libraries vs. cabal libraries (ghc-6.10.1)

Hi, the documentation of extra libraries is listed under share/doc/ghc/libraries/ 1. Is it possible to add cabal packages in the same way? How? 2. It would be nice if the cabal-install (i.e. the binary cabal) came with ghc. Currently zlib, HTTP and cabal-install have to be (awkwardly) installed via Setup before being able to "cabal install". Cheers Christian

On Wed, 2008-11-05 at 14:16 +0100, Christian Maeder wrote:
Hi,
the documentation of extra libraries is listed under share/doc/ghc/libraries/
1. Is it possible to add cabal packages in the same way? How?
It is certainly possible to generate documentation but there is no support for automatically updating a central haddock contents page. If you'd like to work on that it's ticket: http://hackage.haskell.org/trac/hackage/ticket/206
2. It would be nice if the cabal-install (i.e. the binary cabal) came with ghc. Currently zlib, HTTP and cabal-install have to be (awkwardly) installed via Setup before being able to "cabal install".
That is part of the purpose of the Haskell Platform. Duncan

On Wed, Nov 05, 2008 at 02:16:39PM +0100, Christian Maeder wrote:
the documentation of extra libraries is listed under share/doc/ghc/libraries/
1. Is it possible to add cabal packages in the same way? How?
If you do cd share/doc/ghc/libraries sh gen_contents_index then the contents and index pages will be regenerated, using */*.haddock Unfortunately, this was broken in the 6.10.1 release, but you can get a fixed script from the HEAD or 6.10 branch (in the libraries directory). Thanks Ian
participants (3)
-
Christian Maeder
-
Duncan Coutts
-
Ian Lynagh