úÎ1u/Œ     portable provisional*michael <dot> ilseman <at> gmail <dot> comNone jA light-weight, single ADT representation of a yaml document in contrast with what is provided by HsSyck. 0 Note that the YMap is an actual Map from l Data.Map, so behavior with respect to identical keys and ordering of entries will behave as Data.Map h dictates. This behavior is also in compliance with the Yaml spec. If you currently rely on HsSyck's D preservation of ordering, you can also consider representing H such maps as sequences of single entry maps. See the examples of "Ordered Mappings" in the Yaml  spec:  &http://www.yaml.org/spec/1.2/spec.html. Parse a regular Haskell string *Given a file name, parse contents of file +Parse a ByteString buffer (this is faster) 'Convert a Syck YamlNode to a YamlLight Lookup the key'Us corresponding value in a Map. Returns Nothing if the YamlLight is not a map, or if  the key is not found dGeneral form of lookup. Will return the first element that satisfies predicate p, otherwise Nothing pCombine a sequence of YMaps into a list of (key,value) pairs. The ordering of the result preserves the ordering Y of the sequence, but the ordering of the individual maps is as Data.Map handles it.  Example:    - key1: val1  key2: val2  - key3: val3 Would become:   ) [(key1,val1),(key2,val2),(key3,val3)] Dwhere key1 and key2 might be arranged differently as Data.Map would S arrange them. This does not enforce uniqueness of keys across different maps. Y Any items of the sequence that are not maps will not be present in the output list. 1 Returns Nothing if not called on a Sequence rTake a YamlLight that is a YMap of keys to YSeqs, and return a list of (key,elem) pairs, where elem is an element  of the YSeq under key.  Example:    key1: [val1, val2, val3]  key2: [val4, val5] Would become:   A [(key1,val1),(key1,val2),(key1,val3),(key2,val4),(key2,val5)] [where the precise ordering of the key1 and key2 pairs depends on the ordering of Data.Map. S Any values of keys that are not sequences will not appear in the output list. . Returns Nothing if not called on a YMap. iCreate a list of all the terminal YStrs in a YamlLight tree, and couple them with a list of all the keys  above them.  Example:    - key1:  key1_1:  - "str1"  - "str2"  key1_2:  - "str2"  - "str3"  - key2:  "str4"  - "str5" Would become:   [("str1",[key1_1, key1]), ("str2", [key1_1, key1]), ("str2", [key1_2, key1]), ("str3",[key1_2, key1]), ("str4",[key2]), ("str5",[]) Get the contents of a sequence Get the contents of a map Get the contents of a string %   !"#$  !   !"#$%      !"#$%&'yaml-light-0.1.4Data.Yaml.YamlLight YamlLightYNilYStrYSeqYMap parseYaml parseYamlFileparseYamlBytes fromYamlNodelookupYL lookupYLWithcombineSequencedMapscombineMappedSequencesgetTerminalsKeysunSequnMapunStrconvert convertIOyamlElemToLight mapThenListremoveSndMaybes flattenTagsgetTerminalsKeys' performTestcSeqMap1cMapSeq1gtKeys1gtKeys2gtKeys3gtKeys4testCombineSequencedMaps1testCombineMappedSequences1testGetTerminalsKeys1testGetTerminalsKeys2testGetTerminalsKeys3testGetTerminalsKeys4