[Haskell-beginners] Cabal modules and directories

Daniel Fischer daniel.is.fischer at web.de
Wed Mar 3 14:59:29 EST 2010

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
> possible?

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).

More information about the Beginners mailing list