Data.List documentation improvements

Duncan Coutts duncan.coutts at
Fri Dec 8 04:01:36 EST 2006

On Fri, 2006-12-08 at 00:46 +0100, Benjamin Franksen wrote:
> Duncan Coutts wrote:
> > I added a feature to Haddock to link modules/functions to source code
> > and/or to a wiki site (the feature is included in haddock 0.8). So we
> > could make something like this work for the standard set of docs on the
> > ghc site.
> > 
> > We'd need to decide on a url scheme and probably find some way of using
> > a standard template or pre-creating the wiki pages (I'd assume we'd have
> > one per module). 
> This sound like a good idea to me, but please make sure that links to
> non-existing (or empty) wiki pages are marked (by color or whatever). This
> is usually done in wikis so that the reader is spared the frustration of
> clicking on dead links...

There's no way to do this as far as I know. The haddock docs are static
and not part of the wiki so there's no easy way to generate different
link content based on whether the target page exists or not.

Any idea how it could be done?


More information about the Libraries mailing list