aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2011-11-06 00:01:47 +0100
committerDavid Waern <david.waern@gmail.com>2011-11-06 00:01:47 +0100
commit2d0c63d4155fde1b5d8f51b66aa2393f265eaa7b (patch)
tree074f93a78bd3059e80cbfb1f1cd29aa5b960d340 /src/Main.hs
parent0a8d2696f88e0308fd689475ce2896b6ba014694 (diff)
parent2deba11b49ed5ca29e947e875349f870310d3746 (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 c8b17a0c..cc5d1302 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)]