Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
validateXML :: Ord e => Parsec e (XMLs src) a -> XMLs src -> Either (ParseErrorBundle (XMLs src) e) a Source #
p_XMLs :: Ord err => Ord src => Stream (Seq (XML src)) => Parsec err (XMLs src) a -> XMLs src -> Parsec err (XMLs src) a Source #
p_XMLs p xs
returns a parser parsing xs
entirely with p
,
updating stateOffset
and re-raising any exception.
Unprivatized Permutation
to fix runPermutation
.
so that the TrivialError
has an unexpected token
which is an Node
containing a FileSource
useful when reporting errors.
Instances
Functor m => Functor (Perm m) Source # | |
Alternative m => Applicative (Perm m) Source # | |