aeson and dlist in HP 2013.4.0.0

Roman Cheplyaka roma at ro-che.info
Thu Nov 28 13:52:04 UTC 2013


* Christian Maeder <Christian.Maeder at dfki.de> [2013-11-28 12:27:30+0100]
> Am 28.11.2013 11:40, schrieb Roman Cheplyaka:
> >* Christian Maeder <Christian.Maeder at dfki.de> [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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/libraries/attachments/20131128/81fe2633/attachment.sig>


More information about the Libraries mailing list