[Haskell-cafe] Impact of "try" on Parsec performance

Erik de Castro Lopo mle+hs at mega-nerd.com
Sat Mar 3 05:35:19 CET 2012

Omari Norman wrote:

> So my question is: what is the practical impact of using try?

My experience is based mostly on trying to improve the error location
reporting in Ben Lippmeier's DDC compiler. What I found was that
removing Parsec.try's almost always resulted in the parser generating
better location information.

Erik de Castro Lopo

More information about the Haskell-Cafe mailing list