Brian Smith <[EMAIL PROTECTED]> writes: > Is there an example of how to build a Cabal package that has a lexer > generated with Alex and a parser generated with Happy? As far as I > can tell, the way to do this is to add "Other-Modules: > Module.Name.Of.Parser.y Module.Name.Of.Lexer.x" to each > executable/library stanza. But, when I try this, I get:
No, they should just be "Module.Name.Of.Parser" and "Module.Name.Of.Lexer". > Could not find module `GHC.Exts': > it is a member of package base-1.0, which is hidden > > The generated parser code contains: But your real problem is answered by the other replies on this thread. peace, isaac _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe