summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-09-27 21:19:11 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2022-09-27 21:19:11 -0700
commitcc2078530c84527f968eef5b247787a4da949a61 (patch)
treedcd52ce702656d7c9fb4a08ee8af74469a650fc2 /src
parent26f733f4248accaeaac0a9c13ca37e7b2c4cef1a (diff)
T.P.Readers.LaTeX.Parsing: remove unused function toksToString
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX/Parsing.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX/Parsing.hs b/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
index 7528e8623..4f16c44fd 100644
--- a/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
+++ b/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
@@ -34,7 +34,6 @@ module Text.Pandoc.Readers.LaTeX.Parsing
, getInputTokens
, untokenize
, untoken
- , toksToString
, satisfyTok
, peekTok
, parseFromToks
@@ -485,9 +484,6 @@ untokenAccum (Tok _ _ t) accum = t <> accum
untoken :: Tok -> Text
untoken t = untokenAccum t mempty
-toksToString :: [Tok] -> String
-toksToString = T.unpack . untokenize
-
parseFromToks :: PandocMonad m => LP m a -> [Tok] -> LP m a
parseFromToks parser toks = do
oldInput <- getInput