[Haskell-cafe] hxt pickling question

2013-01-24 Thread briand
Hi, Trying to understand how to write a document using a pickler but I can't make sense of the types. >From the example: runX ( xunpickleDocument xpSeason [ withValidate no , withTrace 1 , withRe

Re: [Haskell-cafe] hxt pickling question

2013-01-24 Thread Erik Hesselink
There's showPickled [0] and unpickleDoc [1], maybe those help? Erik [0] http://hackage.haskell.org/packages/archive/hxt/latest/doc/html/Text-XML-HXT-Arrow-Pickle-Xml.html#v:showPickled [1] http://hackage.haskell.org/packages/archive/hxt/latest/doc/html/Text-XML-HXT-Arrow-Pickle-Xml.html#v:unpic

Re: [Haskell-cafe] hxt pickling question

2013-01-24 Thread briand
On Thu, 24 Jan 2013 17:05:15 +0100 Erik Hesselink wrote: > There's showPickled [0] and unpickleDoc [1], maybe those help? > Thank you , they help a lot :-) I was stuck looking in Text.XML.HXT.Arrow.Pickle for the answer and got lost trying to decipher IOStateArrow s a XmlTree and runX. It's