hlint suggestions.
commitf3e901c29d9a1ca82a1b35ea13df4e673e753443
authorJohn MacFarlane <jgm@berkeley.edu>
dateFri 27 Oct 2017, 21:26 (9 years ago)
parentbe7a29e
src/Text/Pandoc/App.hs+1−1
@@ -113,7 +113,7 @@ parseOptions options' defaults = do
113113 getOpt' Permute options' rawArgs
114114
115115 let unknownOptionErrors =
116− foldr (handleUnrecognizedOption . (takeWhile (/= '='))) []
116+ foldr (handleUnrecognizedOption . takeWhile (/= '=')) []
117117 unrecognizedOpts
118118
119119 unless (null errors && null unknownOptionErrors) $