Safe Haskell | Safe |
---|---|
Language | Haskell98 |
The module defines a generic parser which can be used, in particular, to parse XML forests. The main characteristic of the parser is that it can be used in a sequential (sub-trees are processed in order) and a selective (subtrees are process regardless of their position) way.
Core
An XML forest parser.
Parsing
Selective
every' :: Q a b -> P a [b] Source #
A lazy version of every
which "forgets" non-matching subtrees
along the way.
Sequential
Peek
Utilities
many_ :: Alternative f => f a -> f () Source #
Many combinator which ignores parsing results.