
2 Jul
2008
2 Jul
'08
11:50 a.m.
On Wed, Jul 2, 2008 at 8:57 AM, Duncan Coutts
Do not hard code the path. It can change (via a command line flag).
It's not necessary to hard code anything anyway, just using:
other-modules: Paths_ForSyDe
I tried to avoid doing it, but without adding dist/build/autogen to hs-source-dirs (that is, leaving it as "hs-source-dirs: src") I get the following error: Setup.hs: can't find source for Paths_ForSyDe in ["src"]
I suggest using other-modules rather than exposed-modules because you probably do not need to make that module part of your public api.
Yes, that's what I did.