[Haskell-cafe] Re: Parsec problem

Christian Maeder maeder at tzi.de
Wed Jun 6 07:12:49 EDT 2007

Neil Mitchell schrieb:
> I assume (from the docs) that "try names" doesn't consume input (the
> try is meant to take care of that).

"try names" does not consume input when names fails, but it may also not
consume input when names succeeds on the empty input. In that (latter)
case the other alternative (type) is not tried.

HTH Christian

More information about the Haskell-Cafe mailing list