[commit: haddock] ghc-7.6: Remove unused MonadFix constraint (c542021)

Simon Hengel <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/haddock

On branch  : ghc-7.6

http://hackage.haskell.org/trac/ghc/changeset/c542021275f740d716d57c4c9b6135b39a4ccc38

>---------------------------------------------------------------

commit c542021275f740d716d57c4c9b6135b39a4ccc38
Author: Simon Hengel <[email protected]>
Date:   Sat Oct 13 14:40:33 2012 +0200

    Remove unused MonadFix constraint

>---------------------------------------------------------------

 src/Haddock.hs |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/src/Haddock.hs b/src/Haddock.hs
index f53e01a..3ac2115 100644
--- a/src/Haddock.hs
+++ b/src/Haddock.hs
@@ -60,9 +60,6 @@ import StaticFlags (saveStaticFlagGlobals, restoreStaticFlagGlobals)
 import Panic (panic, handleGhcException)
 import Module
 
-import Control.Monad.Fix (MonadFix)
-
-
 --------------------------------------------------------------------------------
 -- * Exception handling
 --------------------------------------------------------------------------------
@@ -267,10 +264,10 @@ render dflags flags qual ifaces installedIfaces srcMap = do
 -------------------------------------------------------------------------------
 
 
-readInterfaceFiles :: (MonadFix m, MonadIO m) =>
-                      NameCacheAccessor m
-                   -> [(DocPaths, FilePath)] ->
-                      m [(DocPaths, InterfaceFile)]
+readInterfaceFiles :: MonadIO m
+                   => NameCacheAccessor m
+                   -> [(DocPaths, FilePath)]
+                   -> m [(DocPaths, InterfaceFile)]
 readInterfaceFiles name_cache_accessor pairs = do
   mbPackages <- mapM tryReadIface pairs
   return (catMaybes mbPackages)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.