Docx reader: Use already imported operator
This fixes an import error in the last commit.
commitfa912bb15e3ceac863fb8d46ee6f137da34eb634
authorJesse Rosenthal <jrosenthal@jhu.edu>
dateSat 20 Jan 2018, 09:48 (9 years ago)
parent736c2c5
src/Text/Pandoc/Readers/Docx/Fields.hs+1−1
@@ -63,7 +63,7 @@ quotedString = do
6363 concat <$> manyTill inQuotes (try (char '"'))
6464
6565unquotedString :: Parser String
66−unquotedString = manyTill anyChar (try $ lookAhead space $> () <|> eof)
66+unquotedString = manyTill anyChar (try $ lookAhead space *> return () <|> eof)
6767
6868fieldArgument :: Parser String
6969fieldArgument = quotedString <|> unquotedString