| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.Ltml.Parser.Footnote.Combinators
Synopsis
- withSucceedingFootnotes :: Parser a -> FootnoteParser a
- manyWithFootnotesTillSucc :: Parser a -> Parser () -> FootnoteParser [a]
Documentation
withSucceedingFootnotes :: Parser a -> FootnoteParser a Source #
Parse with any succeeding footnotes, consuming any empty lines between footnotes and finally.
The supplied argument parser must not succeed in-line, and must consume any final whitespace. I.e., it may only succeed after a newline plus any subsequent whitespace.
manyWithFootnotesTillSucc :: Parser a -> Parser () -> FootnoteParser [a] Source #
Like manyTillSucc, but parse any interleaved footnotes, and consume
any number of empty lines between nodes (including footnotes) and
finally.