[Haskell-cafe] Cabal with Alex and and Happy

Lemmih lemmih at gmail.com
Mon Jun 13 15:56:42 EDT 2005

On 6/13/05, Sebastian Sylvan <sebastian.sylvan at gmail.com> wrote:
> On 6/13/05, Brian Smith <brianlsmith at gmail.com> wrote:
> > 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:
> >
> >     Could not find module `GHC.Exts':
> >       it is a member of package base-1.0, which is hidden
> try:
> >ghc-pkg expose base-1.0

That shouldn't matter since Cabal invokes >GHC-6.4 with -hide-all-packages.


More information about the Haskell-Cafe mailing list