[Haskell] Summer of code Haddock complains about module "which is
mads_lindstroem at yahoo.dk
Tue Aug 7 07:42:45 EDT 2007
I am trying to use the summer of code version of haddock, which I got
from the Darcs repository.
I have two files:
module Bar where
-- |Some comment
bar :: Int
bar = 2
module Foo where
-- |Some comment.
foo :: Int
foo = bar + 5
when I run haddock like:
> haddock -h -ohtml -B/usr/local/lib/ghc-6.7.20070729/ Foo.hs Bar.hs
it complains with:
Warning: Cannot use package base:
HTML directory $topdir/share/ghc/doc/html/base does not exist.
attempting to use module `Bar' (Bar.hs) which is not loaded
haddock: Failed to check all modules properly
make: *** [doc] Fejl 1
Why is it Haddock cannot find the Bar module? After all I mention Bar.hs
in the invocation of haddock.
More information about the Haskell