[Haskell-beginners] Cabal modules and directories
daniel.is.fischer at web.de
Thu Mar 4 12:11:49 EST 2010
Am Mittwoch 03 März 2010 21:08:07 schrieb Rehno Lindeque:
> On Wed, Mar 3, 2010 at 9:59 PM, Daniel Fischer <daniel.is.fischer at web.de>
> > 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).
Ah, actually I misremembered, according to
you can also have the file with dots in the filename.
> 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