Discussion:
[Haskell wikibook] New template for referencing standard library haddocks
apfelmus
2007-08-05 13:49:50 UTC
Permalink
Hello wikibookians,

There's a new template for referencing standard library haddocks.

http://en.wikibooks.org/wiki/Template:Haskell_lib


- What does this template do? -

This template generates links to the documentation of GHC's standard
library modules. For example, if you talk about Control.Monad and want
the text to be a proper link to the latest GHC Haddocks, this template
is for you.

Arguably, automatic syntax coloring and hyperlinking of Haskell source
code should obsolete this template.

- Usage -

{{Haskell lib|Control|Monad}}
=> Control.Monad from the base-package.

{{Haskell lib|package=mtl|Control|Monad|State}}
=> Control.Monad.State from the mtl-package.

Currently, the module name may be only 5 levels deep, but that's easy to
change.


Regards,
apfelmus

Loading...