On 9/22/05, Simon Marlow <[EMAIL PROTECTED]> wrote:
On 22 September 2005 10:05, Christian Maeder wrote:
> The error message on this is really poor: parse error on input
> `length'
>
> An addition like "expecting '('" might be more helpful.

Not easy to do - some significant work on Happy would be required (or
rewriting GHC's parser, which is even more unlikely).

However we *would* like to do some simple error recovery in the parser
at some point.  The main reason for doing this is to get better results
from checking partially complete modules in Visual Haskell or hIDE.

How about using the parser made by Arthur Baars, trading speed for better error messages?
Maybe even the speed issue could be solved.

Best regards
Tomasz
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to