
18 Aug
2010
18 Aug
'10
7:55 a.m.
Duncan Coutts
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!