aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Pretty.hs
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2017-05-02 23:41:45 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2017-05-02 23:41:45 +0200
commitdf23d96c8991b215ead8ceb11607c5bebfb1f6db (patch)
tree18f570ef308dae2091df15d8954607271fafc504 /src/Text/Pandoc/Pretty.hs
parent79855ef934175c9a8890653375e05735d8b05a8d (diff)
downloadpandoc-df23d96c8991b215ead8ceb11607c5bebfb1f6db.tar.gz
Generalize tableWith, gridTableWith
The parsing functions `tableWith` and `gridTableWith` are generalized to work with more parsers. The parser state only has to be an instance of the `HasOptions` class instead of requiring a concrete type. Block parsers are required to return blocks wrapped into a monad, as this makes it possible to use parsers returning results wrapped in `Future`s.
Diffstat (limited to 'src/Text/Pandoc/Pretty.hs')
0 files changed, 0 insertions, 0 deletions