From f3e901c29d9a1ca82a1b35ea13df4e673e753443 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 27 Oct 2017 21:26:16 -0700 Subject: hlint suggestions. --- src/Text/Pandoc/App.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text') diff --git a/src/Text/Pandoc/App.hs b/src/Text/Pandoc/App.hs index e965771b7..a80c6ac44 100644 --- a/src/Text/Pandoc/App.hs +++ b/src/Text/Pandoc/App.hs @@ -113,7 +113,7 @@ parseOptions options' defaults = do getOpt' Permute options' rawArgs let unknownOptionErrors = - foldr (handleUnrecognizedOption . (takeWhile (/= '='))) [] + foldr (handleUnrecognizedOption . takeWhile (/= '=')) [] unrecognizedOpts unless (null errors && null unknownOptionErrors) $ -- cgit v1.2.3