[Haskell-cafe] ReadP - take first succesful parser ? -solved

Marc Weber marco-oweber at gmx.de
Wed Apr 4 11:24:35 EDT 2007


I think I've solved the problem.

The Text.Read.Lex does contain the missing parts.
I had two problems. The one is solved by using <++ ( use the first
parser, falback to the second), the second was: parse till EOF.
This is solved by using the functions defined in Lex itself.

Thanks for listening :)

Marc


More information about the Haskell-Cafe mailing list