summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-12-10 11:16:39 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-01-25 17:07:41 +0100
commit49502b9a02edf03ca9cc03f389ea0595383a40dd (patch)
tree8a9364a3a9f8857e1b5e50b895ae8596d7015f12
parent1bdf23c6971e0c2b0fd2e7763dc3fa74f908d4d1 (diff)
Added a type signature
-rw-r--r--pandoc.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/pandoc.hs b/pandoc.hs
index 492d49b10..18d36b223 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -1439,7 +1439,8 @@ convertWithOpts opts args = do
mapM_ (warn . ("Ignoring: " ++)) xs
liftIO $ B.readFile x
- let runIO' f = do
+ let runIO' :: PandocIO a -> IO a
+ runIO' f = do
(res, warnings) <- runIOorExplode $ do
x <- f
ws <- getWarnings