[Haskell-cafe] Re: cabal, haddock, hscolour
Johannes Waldmann
waldmann at imn.htwk-leipzig.de
Wed Aug 18 07:55:16 EDT 2010
Duncan Coutts <duncan.coutts <at> googlemail.com> writes:
> Your .cabal file probably does not list the "other-modules" as it
> should, so Cabal does not know that the other modules exist.
Ah.
Strange though that it seems to be able to do lots
of reasonable things (build the executable, build all the API docs)
without this "other-modules" section.
I figure it's a cabal design choice,
but I don't see the reason for it.
It seems it just forces me to construct manually
some information that the machine already knows.
OK, we have the same thing for type or interface specifications
(redundancy is good to detect programmer errors)
but I don't see from what errors we need protection here.
Anyway, thanks!
More information about the Haskell-Cafe
mailing list