More code simp in pandoc.hs.
commit7a924ec55a8c9f9d4c887b3781ebeddbbf9d86e5
authorJohn MacFarlane <jgm@berkeley.edu>
dateFri 27 Oct 2017, 20:58 (9 years ago)
parent007236e
pandoc.hs+1−1
@@ -35,5 +35,5 @@ import Text.Pandoc.Error (handleError)
3535
3636main :: IO ()
3737main = E.catch (parseOptions options defaultOpts >>= convertWithOpts)
38− (\e -> handleError (Left e))
38+ (handleError . Left)
3939