RE: handling errors in Happy
> Is it possible to get the result of function happyError, in > the main module > of my program (which imports the module generated by Happy)? Sure. You need to use Happy's %monad feature, the documentation describes how to turn parse errors into something you can handle in the program: http://www.haskell.org/happy/doc/html/sec-monads.html#SEC-EXCEPTION Cheers, Simon ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell
handling errors in Happy
Is it possible to get the result of function happyError, in the main module of my program (which imports the module generated by Happy)? Thanks a lot, -- Andre ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell