-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Serialisation and deserialisation of HXT XmlTrees. -- -- Extension for storing and loading already parsed XML documents in an -- internal format. Serialisation and Deserialisation is done with the -- binary package. @package hxt-binary @version 0.0.2 -- | De-/Serialisation for NTrees module Data.Tree.NTree.Binary instance Binary a => Binary (NTree a) -- | De-/Serialisation for XmlTrees module Text.XML.HXT.DOM.Binary dtdElems :: [DTDElem] instance Binary QName instance Binary DTDElem instance Binary XNode -- | De-/Serialisation arrows for XmlTrees and other arbitrary values with -- a Binary instance module Text.XML.HXT.Arrow.Binary -- | Read a serialied value from a file. The the flag indicates -- uncompressing. In case of an error, the error message is issued and -- the arrow fails readBinaryValue :: (NFData a, Binary a) => Bool -> String -> IOStateArrow s b a -- | Serialize a value, optionally compress it, and write it to a file. In -- case of an error, the error message is issued and the arrow fails writeBinaryValue :: Binary a => Bool -> String -> IOStateArrow s a ()