
On Wed, Mar 3, 2010 at 9:19 PM, Daniel Fischer
Am Mittwoch 03 März 2010 19:57:13 schrieb Rehno Lindeque:
I'm sorry because this is a very elementary question but despite my attempts I can't seem to get cabal working for my project structure.
I have two main source directories: src\haskell src\semanticdb
Inside src\haskell I have main.hs with the module Main. Inside src\semanticdb I have semanticdb.hs with module OSIX.SemanticDB
module OSIX.SemanticDB
must be in the file 'SemanticDB.hs' (or .lhs), in the subdirectory OSIX of the source directory listed in the .cabal file, here src/semanticdb, so
Thanks, moving the file to src/semanticdb/OSIX works. However, I would prefer it if restructuring my directories weren't necessary. Is it possible?