Difference between revisions of "Haddock/FAQ"

From HaskellWiki
Jump to: navigation, search
m (Formatting)
Line 19: Line 19:
[[Category:Stub articles]]

Latest revision as of 00:11, 17 June 2021

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: ( # ).

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