Personal tools


From HaskellWiki

< Haddock(Difference between revisions)
Jump to: navigation, search
(better FAQ format)
m (++category)
Line 15: Line 15:
<pre>./Setup haddock</pre>
<pre>./Setup haddock</pre>

Revision as of 23:32, 25 December 2012

1 My version of Haddock does not accept some infix operators like

In fact it does, but you have to add spaces between parentheses and the infix symbols sometimes:
( # )

2 How do I get hyperlinks to definitions in e.g. Haskell98?

You must have the relevant documentation installed e.g. ghc-doc. Then you can say e.g.:

-odir=haddock --html

or much easier just use cabal:

./Setup haddock