[Haskell-cafe] What other prelude to cleanly convert text-files into json
michael at snoyman.com
Sat Feb 28 17:50:54 UTC 2015
I haven't looked at your code since I'm on a mobile, but classy-prelude, of
which I'm one of the maintainers, does provide functions that generally
work with the Text data type.
On Sat, Feb 28, 2015, 1:24 PM Bram Neijt <bneijt at gmail.com> wrote:
> Dear reader,
> I wrote some tiny code to parse files into json (to automate escaping
> multi-line text).
> It quickly became a collection of "import qualified" and "T.unpack,
> T.pack" calls that made the whole thing look ugly .
> What "alternative prelude" would help in getting clean code when
> combining "aeson" and reading text files?
>  Source can be read here: https://gist.github.com/
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe