[Haskell-beginners] Cabal modules and directories
errantkid at gmail.com
Wed Mar 3 15:08:07 EST 2010
On Wed, Mar 3, 2010 at 9:59 PM, Daniel Fischer <daniel.is.fischer at web.de> wrote:
> Am Mittwoch 03 März 2010 20:35:41 schrieb Rehno Lindeque:
>> Thanks, moving the file to src/semanticdb/OSIX works. However, I would
>> prefer it if restructuring my directories weren't necessary. Is it
> No, the hierarchical module names map directly to the directory structure,
> module A.B.C must be in the file C.[l]hs in the directory A/B, viewed from
> the root of the source tree (the directory you name in hs-source-dirs).
Right, thank you. Then perhaps I will try and separate the SemanticDB
into a separate cabal project and try to add it as a dependency.
Thanks for the help.
More information about the Beginners