> Thu, 8 Mar 2001 15:53:19 +0100, Sigbjorn Finne
> <[EMAIL PROTECTED]> pisze:
>
> > Happy 1.9 (and later) imposes a restriction on the possible types
> > a monadic lexer can have,
>
> What restriction?
The lexer has to be polymorphic now.
lexer :: (Token -> P a) -> P a
before you could replace 'a' with the return type of your parser. This
doesn't work too well if the parser has multiple return types (the
feature added in Happy 1.9), so the restriction was added.
Cheers,
Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs