More code simp in pandoc.hs.
This commit is contained in:
parent
007236e8eb
commit
7a924ec55a
1 changed files with 1 additions and 1 deletions
|
@ -35,5 +35,5 @@ import Text.Pandoc.Error (handleError)
|
|||
|
||||
main :: IO ()
|
||||
main = E.catch (parseOptions options defaultOpts >>= convertWithOpts)
|
||||
(\e -> handleError (Left e))
|
||||
(handleError . Left)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue