úÎfÉc&@      !"#$%&'()*+,-./0123456789:;<=>? Safe-Infered9%Either an error or the return value, 9 any remaining input and a Bool value indicating whether ! all nested picklers where clean pickle a Tree =unpickle a tree, throws away information concerning cleannes +Returns everything (remaining), untouched.   (compat) return one element, untouched   (compat) specialised version of   (compat) HTest predicate when unpickling. Fails with given error message when the  predicate return false. .N.B.: The predicate will only be tested while  unpickling. When pickling,  this is a noop. Like   , but fails on non-empty input. LAdapts a list of nodes to a single node. Generally used at the top level of  an XML document.  pickle to/from attribute =Pickle attribute if Just is given, on unpickling return Just  val when + the attribute is found, Nothing otherwise UPickle an attribute with the specified name and value, fail if the same attribute is  not present on unpickle. IWhen unpickling, tries to find the first element with the supplied name. 9 Once such an element is found, it will commit to it and fail if any of the  picklers don' t match. KHandle all elements with a given name. The unpickler will fail when any of ! the elements fails to unpickle. DFor unpickling, apply the given pickler to a subset of the elements ! determined by a given predicate  Pickles like 1 0pickle Element without restriction on the name.  the name as taken /- returned as the first element of the triple 1find element by name space, prefixes are ignored use Element untouched SA helper variant of xpElem for elements that contain attributes but no child tags. TA helper variant of xpElem for elements that contain child nodes but no attributes. Helper for Elements that don't contain anything >When pickling, creates an empty element iff parameter is True /When unpickling, checks whether element exists Get the Content from a node KUnlift a pickler on Nodes to a Pickler on Elements. Nodes generated during ; pickling that are not Elements will be silently discarded !Convert XML text <->6 a Maybe type. During unpickling, Nothing is returned  if there'Ds a failure during the unpickling of the first argument. A typical  example is:  9 xpElemAttrs "score" $ xpOption $ xpAttr "value" xpickle  in which Just 5 would be encoded as < score value="5"/> and Nothing would be  encoded as <score/>. "'Optional conversion with default value Unlike #7 the default value is not encoded in the XML document, F during unpickling the default value is inserted if the pickler fails #>Attempt to use a pickler. On failure, return a default value. Unlike ", the default value is encoded in the XML document. $Doesn'.t create or consume anything, always succeeds %Combines 2 picklers &% (compat) 'Combines 3 picklers (' (compat) )Combines 4 picklers *Combines 5 picklers +'You guessed it ... Combines 6 picklers ,When unpickling, don'5t consume the matched element(s), noop when pickling -Noop when pickling 7When unpickling, only give access to the first element ."apply a bijection before pickling / after unpickling /Convert XML text content <-> any type that implements @ and A.  Fails on unpickle if B fails. 0<When unpickling, tries to apply the pickler to all elements / returning and consuming only matched elements 1:Tries to apply the pickler to all the remaining elements;  fails if any of them don't match 21 (compat) 3IWhen unpickling, sucessively applies pickler to single elements until it & fails; returns all matched elements. 43 (compat) 5Standard pickler for maps =This pickler converts a map into a list of pairs of the form  <elt attr="key">value</elt> 6RLike xpWrap, but strips Just (and treats Nothing as a failure) during unpickling. 7RLike xpWrap, but strips Just (and treats Nothing as a failure) during unpickling, 1 with specified error message for Nothing value. 8VLike xpWrap, except it strips Right (and treats Left as a failure) during unpickling. D xpWrapEither :: (a -> Either String b, b -> a) -> PU t a -> PU t b not to be confuesd with : 9'Execute one of a list of picklers. The selector function is used during pickling, and K the integer returned is taken as a 0-based index to select a pickler from pickler options. L Unpickling is done by trying each list element in order until one succeeds  (the selector is not used). NThis is typically used to handle each constructor of a data type. However, it P can be used wherever multiple serialization strategies apply to a single type. :=Try the left pickler first and if that failes the right one. 4 wrapping the result in Left or Right, respectively Not to be confued with 8 ;GPickler that during pickling always uses the first pickler, and during C unpickling tries the first, and on failure then tries the second. <The zero pickler :Encodes nothing, always fails during unpickling. (Same as = " got xpZero"). =]No output when pickling, always generates an error with the specified message on unpickling. >FWhen unpickling check that all elements have been consumed after this  pickler, fails otherwise When pickling, this is a noop ??When unpickling check that all elements have been consumed and @ that the same is true for all nested picklers, fails otherwise When pickling, this is a noop D name of the Element pickler for attributes pickler for child nodes Name of the elements pickler for attributes pickler for child nodes predicate to select the subset pickler to apply on the subset pickler for attributes pickler for child nodes  Namespace Pickler for the local name pickler for attributes pickler for child nodes  !"#$%&'()*+,-./012345Element name (elt) Attribute name (attr) Pickler for keys (key) Pickler for values (value) 6789selector function list of picklers :;<=Error message >?CDEF@  !"#$%&'()*+,-./0123456789:;<=>?@$<= /!"#59:;01234%&'()*+.867 -,>?A  !"#$%&'()*+,-./0123456789:;<=>?CDEFG      !"#$%&'()*+,-./0123456789:;<=>?@ABCADEAFGHIJKLxml-picklers-0.2Data.XML.Pickle AttributeUnresolvedEntityExceptionPU unpickleTree pickleTree<++>pickleunpicklexpIdxpTreesxpHeadxpTreexpText0xpAssertxpTextxpRootxpAttr xpAttrImplied xpAttrFixedflattenContentxpElemxpElems xpSubsetAllxpElemWithNamexpElemByNamespacexpElemVerbatim xpElemAttrs xpElemNodes xpElemBlank xpElemExists xpContent xpUnliftElemsxpOption xpDefault xpWithDefaultxpUnitxp2TuplexpPairxp3TuplexpTriplexp4Tuplexp5Tuplexp6TuplexpPeek xpIsolatexpWrapxpPrim xpFindMatchesxpAllxpList0 xpSeqWhilexpListxpMap xpWrapMaybe xpWrapMaybe_ xpWrapEitherxpAltxpEither xpTryCatchxpZeroxpThrowxpCleanxpRecursiveCleanbaseGHC.ReadReadGHC.ShowShow Text.Readread $fCategoryPU$$fExceptionUnresolvedEntityException$fExceptionUnpickleError$fShowUnpickleError