On 10/12/07, PR Stanley <[EMAIL PROTECTED]> 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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to