I would like to start using Haddock; the main reason is not that I (or someone else) needs good HTML documentation for what I am writing right now, but that it will teach me a standardized way of commenting on Haskell modules. For this reason, I want my hands to be dirty, but I ran into a rather difficult problem.
Source:
module Main where
-- |This is the main function.
main = putStrLn "Hello World!"
Debug call:
> haddock -h test.hs
Haddock coverage:
50% ( 1 / 2) in 'Main'
Warning: Main: could not find link destinations for:
GHC.Types.IO
Haddock doesn't seem to know where to look for standard libraries, but this is just a wild hunch. The docs say something about the "-B" option, but don't really explain anything.
, " Cabal, ". , , (Cabal ). (ish) ?