úÎh.d#H      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFG Safe-Infered:%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 9 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 0/ (compat) 1Combines 4 picklers 2Combines 5 picklers 3'You guessed it ... Combines 6 picklers 4When unpickling, don'5t consume the matched element(s), noop when pickling 5Noop when pickling 7When unpickling, only give access to the first element 6"apply a bijection before pickling / after unpickling 7Convert XML text content <-> any type that implements H and I.  Fails on unpickle if J fails. 8<When unpickling, tries to apply the pickler to all elements / returning and consuming only matched elements 9:Tries to apply the pickler to all the remaining elements;  fails if any of them don't match :9 (compat) ;IWhen unpickling, sucessively applies pickler to single elements until it & fails; returns all matched elements. <; (compat) =Standard pickler for maps =This pickler converts a map into a list of pairs of the form  <elt attr="key">value</elt> >RLike xpWrap, but strips Just (and treats Nothing as a failure) during unpickling. ?RLike xpWrap, but strips Just (and treats Nothing as a failure) during unpickling, 1 with specified error message for Nothing value. @VLike 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 B A'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. B=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 @ CGPickler that during pickling always uses the first pickler, and during C unpickling tries the first, and on failure then tries the second. DThe zero pickler :Encodes nothing, always fails during unpickling. (Same as E " got xpZero"). E]No output when pickling, always generates an error with the specified message on unpickling. FFWhen unpickling check that all elements have been consumed after this  pickler, fails otherwise When pickling, this is a noop G?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 L 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 !"#$%&'()*+,-./0123456789:;<=Element name (elt) Attribute name (attr) Pickler for keys (key) Pickler for values (value) >?@Aselector function list of picklers BCDEError message FGKLMNH  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGH+DE7 !"#$%&()*=ABC89:;<,-./01236@>?'54FG  E   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGKLMNO      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJHKLHMNOPQRSxml-picklers-0.2.1Data.XML.Pickle AttributeUnresolvedEntityExceptionPU unpickleTree pickleTree UnpickleErrorVariants TraceStep ErrorMessage<++>pickleunpicklexpIdxpTreesxpHeadxpTreexpText0xpAssertxpTextxpRootxpAttr xpAttrImplied xpAttrFixedflattenContentxpElemxpElems xpSubsetAllxpElemWithNamexpElemByNamespacexpElemVerbatim xpElemAttrs xpElemNodes xpElemBlank xpElemExists xpContent xpUnliftElemsxpOption xpDefault xpWithDefaultxpUnitxp2TuplexpPair<#>xp3TuplexpTriplexp4Tuplexp5Tuplexp6TuplexpPeek xpIsolatexpWrapxpPrim xpFindMatchesxpAllxpList0 xpSeqWhilexpListxpMap xpWrapMaybe xpWrapMaybe_ xpWrapEitherxpAltxpEither xpTryCatchxpZeroxpThrowxpCleanxpRecursiveCleanbaseGHC.ReadReadGHC.ShowShow Text.Readread $fCategoryPU$$fExceptionUnresolvedEntityException$fExceptionUnpickleError$fShowUnpickleError