Hoogle Search
Within LTS Haskell 24.56 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
ignoreAnyTreeContent :: forall (m :: Type -> Type) o . MonadThrow m => ConduitT Event o m (Maybe ())xml-conduit Text.XML.Stream.Parse Same as takeAnyTreeContent, without yielding Events.
>>> runConduit $ parseLBS def "<a>content</a><b></b>" .| (ignoreAnyTreeContent >> sinkList) [EventBeginElement (Name {nameLocalName = "b", ...}) [],EventEndElement (Name {nameLocalName = "b", ...}),EventEndDocument]>>> runConduit $ parseLBS def "text<b></b>" .| (ignoreAnyTreeContent >> sinkList) [EventBeginElement (Name {nameLocalName = "b", ...}) [],EventEndElement (Name {nameLocalName = "b", ...}),EventEndDocument]Since 1.5.0-
xml-conduit Text.XML.Stream.Parse Keep parsing elements as long as the parser returns Just.
-
xml-conduit Text.XML.Stream.Parse Like many, but any tags and content the consumer doesn't match on are silently ignored.
-
xml-conduit Text.XML.Stream.Parse Keep parsing elements as long as the parser returns Just or the ignore parser returns Just.
-
xml-conduit Text.XML.Stream.Parse Like manyIgnore, but uses yield so the result list can be streamed to downstream conduits without waiting for manyIgnoreYield to finish
-
xml-conduit Text.XML.Stream.Parse Like many, but uses yield so the result list can be streamed to downstream conduits without waiting for manyYield to finish
-
xml-conduit Text.XML.Stream.Parse Like many', but uses yield so the result list can be streamed to downstream conduits without waiting for manyYield' to finish
-
xml-conduit Text.XML.Stream.Parse Like many but discards the results without building an intermediate list. Since 1.5.0
takeAnyTreeContent :: forall (m :: Type -> Type) . MonadThrow m => ConduitT Event Event m (Maybe ())xml-conduit Text.XML.Stream.Parse Like takeTreeContent, without checking for tag name or attributes.
>>> runConduit $ parseLBS def "text<a></a>" .| void takeAnyTreeContent .| sinkList [EventBeginDocument,EventContent (ContentText "text")]
>>> runConduit $ parseLBS def "</a><b></b>" .| void takeAnyTreeContent .| sinkList [EventBeginDocument]
>>> runConduit $ parseLBS def "<b><c></c></b></a>text" .| void takeAnyTreeContent .| sinkList [EventBeginDocument,EventBeginElement (Name {nameLocalName = "b", ...}) [],EventBeginElement (Name {nameLocalName = "c", ...}) [],EventEndElement (Name {nameLocalName = "c", ...}),EventEndElement (Name {nameLocalName = "b", ...})]Since 1.5.0TooManyHeaderLines :: Int -> RequestParseExceptionwai-extra Network.Wai.Parse No documentation available.