Removed unused functions

This commit is contained in:
2025-05-20 16:43:10 -04:00
parent 9c6634cfec
commit 62eeef2abb

View File

@@ -87,17 +87,6 @@ leftmostLongestParse parser input =
Nothing -> (mempty, mempty)
Just x -> x
-- Parse if the string that's left matches the string comparator function
lookaheadParse :: (String -> Bool) -> ReadP Char
lookaheadParse stringCmp = do
lookahead <- look
case stringCmp lookahead of
True -> get
False -> pfail
lineToList :: MdToken -> [MdToken]
lineToList (Line tokens) = tokens
specialChars = "\\#*_[\n"
-- Makes a parser greedy. Instead of returning all possible parses, only the longest one is returned.