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

In my experience, try blocks should only be used at the very inner
most parts of the parser. That is avoid wrapping large combinator
functions in try blocks.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to