aboutsummaryrefslogtreecommitdiff
path: root/Interact.hs
diff options
context:
space:
mode:
authorAlbert Krewinkel <tarleb@moltkeplatz.de>2014-05-14 14:45:37 +0200
committerAlbert Krewinkel <tarleb@moltkeplatz.de>2014-05-14 14:57:00 +0200
commit9df589b9c5a4f2dcb19445239dfae41b54625330 (patch)
treeec3a85b63bcb5f434a57bb38b0d8fe0a12719017 /Interact.hs
parenta8319d133908f3c39834984e5e11991b166c37b7 (diff)
downloadpandoc-9df589b9c5a4f2dcb19445239dfae41b54625330.tar.gz
Introduce class HasLastStrPosition, generalize functions
Both `ParserState` and `OrgParserState` keep track of the parser position at which the last string ended. This patch introduces a new class `HasLastStrPosition` and makes the above types instances of that class. This enables the generalization of functions updating the state or checking if one is right after a string.
Diffstat (limited to 'Interact.hs')
0 files changed, 0 insertions, 0 deletions