I\'m writing a compiler for a class I\'m taking. The class isn\'t specifically Haskell but I\'m using Haskell to write my compiler and interpreter. I have a cabal package setup
For Warren Harris and others like him (and myself) that may come along later, other-modules needs to be set to a list of module names that (I guess?) are expected to be built by the tools listed in build-tools.
So, in my case, the relevant sections of my .cabal file ended up looking like this:
build-tools: alex, happy
other-modules: Language.Heidi.Parser,
Language.Heidi.Lexer