
We use HXT's picklers, and have written a blog post about it [1]. I
just saw that the code isn't formatted that great on our new blog,
I'll see if we can fix that. We also wrote a library [2] for
generically deriving instances for picklers, which we also blogged
about [3]. I hope that helps!
Regards,
Erik
[1] http://engineering.silk.co/post/31921413529/haskell-data-types-and-xml
[2] http://hackage.haskell.org/package/regular-xmlpickler
[3] http://engineering.silk.co/post/31922245822/writing-a-generic-xml-pickler
On Thu, Sep 11, 2014 at 1:57 PM, Han Joosten
I would like to write code to enable importing data to and fro from a Haskell data structure. It makes sense to have some XSD or so that specifies how the XML should be structured. The HDS is already in place. I have been looking into hte HXT library and I think it could be used for this job. However, I am not familiar (yet) with Arrows and the like. Also the use of picklers is new to me. It would help me a lot if someone has a neat example of how coversion between XML and some Haskell data structure can be implemented in het HXT-style. Do such examples exist? Where can I find them?
For those interested: Here is the Haskell Data Structure: https://sourceforge.net/p/ampersand/code/HEAD/tree/trunk/src/lib/Database/De...
Cheers & Thanks for reading!
Han Joosten
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe