
* Christian Maeder
Am 28.11.2013 11:40, schrieb Roman Cheplyaka:
* Christian Maeder
[2013-11-28 10:24:49+0100] and attoparsec raises the question about how two different parser packages should coexist in the HP
I must have missed that — what is the question, exactly?
What is the recommended parser package of the HP to use when I start writing parsers?
Depends on what kind of parser you're writing. Parsec is for things that humans typically write — like programs and config files. When the speed is not an issue, and good error messages are required. Attoparsec is for machine-generated formats, where you need performance but error messages are not so critical. So there's not that much overlap between these packages, although they both deal with parsing. Roman