packages feed

polysoup 0.1.0 → 0.2.0

raw patch · 2 files changed

+13/−5 lines, 2 filesdep ~polyparsedep ~tagsoup

Dependency ranges changed: polyparse, tagsoup

Files

Text/XML/PolySoup.hs view
@@ -12,9 +12,11 @@ , true , getTag , isTagOpen-, isTagClose , isTagOpenName+, isTagClose+, isTagCloseName , isTagText+, isTagComment , tagOpenName , tagText , tag@@ -134,6 +136,12 @@ -- | Test if the tag is a text node. isTagText :: TagPred s () isTagText = TagPred (fromBool . Tag.isTagText)++-- | Test if the tag is a text node.+isTagComment :: TagPred s ()+isTagComment =+    let isComm (Tag.TagComment {}) = True; isComm _ = False+    in  TagPred (fromBool . isComm)  -- | Get text content of the tag. tagText :: TagPred s s
polysoup.cabal view
@@ -1,5 +1,5 @@ name:               polysoup-version:            0.1.0+version:            0.2.0 synopsis:           Online XML parsing with polyparse and tagsoup description:     The library provides combinators for lazy, incremental XML parsing.@@ -16,9 +16,9 @@  library     build-depends:-        base >= 4 && < 5-      , tagsoup-      , polyparse+        base            >= 4        && < 5+      , tagsoup         >= 0.13     && < 0.14+      , polyparse       >= 1.9      && < 1.10      exposed-modules:         Text.XML.PolySoup