[Haskell-cafe] Re: Editorial error or something meaningful?

Jon Fairbairn jon.fairbairn at cl.cam.ac.uk
Sat Dec 1 05:34:48 EST 2007


PR Stanley <prstanley at ntlworld.com> writes:

> Hi
> taken from ch.8.3 in the Hutton book:
> "Whereas return v always succeeds, the dual parser failure
> always fails regardless of the contents of the input
> string:"
> The dual parser failure?

It's a question of how you parse the phrase "dual parser
failure".  The name of the parser is "failure" and it is the
dual (roughly meaning "opposite") of the parser "return".

-- 
Jón Fairbairn                                 Jon.Fairbairn at cl.cam.ac.uk




More information about the Haskell-Cafe mailing list