On 10/12/07, PR Stanley <prstanley@ntlworld.com> wrote:
Hi
failure :: (Parser a) failure = \inp -> []
The code might contain some syntax errors and I'd be grateful for any
corrections.
What is a "dual parser failure"?

You should probably put the definition on a separate line, thus:

failure :: (Parser a)
failure = \inp -> []

If that doesn't work, you could send along the definition of the Parser type.

-Brent