aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2011-10-01 01:56:54 +0200
committerDavid Waern <david.waern@gmail.com>2011-10-01 01:56:54 +0200
commit813a8f79109cf854f9515ec55289d4a5efc1388d (patch)
tree8bec69a30fcc46edd529c8c8470d293d53308a9b /src/Main.hs
parenta26a25d047f68051f9e1419a0cec515b62ad7e21 (diff)
parent006e0c13d7885cc446b6d58aa256a3574d4349e8 (diff)
Merge branch 'master' of http://darcs.haskell.org/haddock
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index f21bde5e..ba48a709 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -60,6 +60,8 @@ import DynFlags hiding (flags, verbosity)
import Panic (panic, handleGhcException)
import Module
+import Control.Monad.Fix (MonadFix)
+
--------------------------------------------------------------------------------
-- * Exception handling
@@ -251,7 +253,7 @@ render flags ifaces installedIfaces srcMap = do
-------------------------------------------------------------------------------
-readInterfaceFiles :: MonadIO m =>
+readInterfaceFiles :: (MonadFix m, MonadIO m) =>
NameCacheAccessor m
-> [(DocPaths, FilePath)] ->
m [(DocPaths, InterfaceFile)]