On 31/10/2010 04:15 PM, Nils Schweinsberg wrote:
> This is exactly what gives me headaches. It's hard to tell where you
> need try/lookAhead and where you don't need them. And I don't really
> feel comfortable wrapping everything into try blocks...
I vaguely recall somebody mentioning a parser library on Hackage where
"try" is the default behaviour and you turn it off explicitly, rather
than turning it on explicitly. Apparently this is much more intuitive.
But unfortunately I can't remember what the hell the library was...