[commit: haddock] T6018-injective-type-families, adamse-D1033, ghc-head, wip/10268, wip/10313, wip/D548-master, wip/D548-master-2, wip/T10483, wip/T9840, wip/orf-reboot: Remove redundant constraints from haddock, discovered by -fwarn-redundant-constraints (8b1d44f)

git at git.haskell.org git at git.haskell.org
Wed Jul 8 08:36:53 UTC 2015


Repository : ssh://git@git.haskell.org/haddock

On branches: T6018-injective-type-families,adamse-D1033,ghc-head,wip/10268,wip/10313,wip/D548-master,wip/D548-master-2,wip/T10483,wip/T9840,wip/orf-reboot
Link       : http://git.haskell.org/haddock.git/commitdiff/8b1d44fbdde141cf883f5ddcd337bbbab8433228

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

commit 8b1d44fbdde141cf883f5ddcd337bbbab8433228
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Jan 6 16:37:47 2015 +0000

    Remove redundant constraints from haddock, discovered by -fwarn-redundant-constraints


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

8b1d44fbdde141cf883f5ddcd337bbbab8433228
 haddock-api/src/Haddock/Interface.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/haddock-api/src/Haddock/Interface.hs b/haddock-api/src/Haddock/Interface.hs
index 1bb04ed..afb5111 100644
--- a/haddock-api/src/Haddock/Interface.hs
+++ b/haddock-api/src/Haddock/Interface.hs
@@ -239,6 +239,6 @@ buildHomeLinks ifaces = foldl upd Map.empty (reverse ifaces)
 --------------------------------------------------------------------------------
 
 
-withTempDir :: (ExceptionMonad m, MonadIO m) => FilePath -> m a -> m a
+withTempDir :: (ExceptionMonad m) => FilePath -> m a -> m a
 withTempDir dir = gbracket_ (liftIO $ createDirectory dir)
                             (liftIO $ removeDirectoryRecursive dir)



More information about the ghc-commits mailing list