[Haskell-cafe] Parsing workflow

Andrew Coppin andrewcoppin at btinternet.com
Mon Nov 1 18:18:22 EDT 2010


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...



More information about the Haskell-Cafe mailing list