logo       

Re: [Haskell-cafe] mistake in Gentle Introduction: msg#00084

lang.haskell.glasgow.bugs

Subject: Re: [Haskell-cafe] mistake in Gentle Introduction

On 9/22/05, Simon Marlow <simonmar@xxxxxxxxxxxxx> 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@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise