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!

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to