[Haskell-cafe] Embarrassed Haskeller -- why is Read so bad? What are alternatives?
Brandon Allbery
allbery.b at gmail.com
Tue Oct 15 15:05:56 UTC 2013
On Tue, Oct 15, 2013 at 11:01 AM, Ryan Newton <rrnewton at gmail.com> wrote:
> We have great tools for [de]serializing both to binary and to JSON
> (binary, cereal, json, aeson, etc). But we have rather weak support for
> [de]serializing to human readable Haskell-ish external formats.
>
What we have is parsec, attoparsec, trifecta, etc. --- parsers are so
trivial to build in Haskell that it's easier to swot up one that does
exactly what you need on the fly than it is to build a better Read with
enough flexibility to cover a majority of use cases.
--
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20131015/f3ee1263/attachment.html>
More information about the Haskell-Cafe
mailing list