[commit: haddock] ghc-7.10.3-facebook: Remove NFData instances that are now in GHC (fdfe94a)
git at git.haskell.org
git at git.haskell.org
Mon Nov 20 21:03:58 UTC 2017
Repository : ssh://git@git.haskell.org/haddock
On branch : ghc-7.10.3-facebook
Link : http://git.haskell.org/haddock.git/commitdiff/fdfe94a20925e6368c84f037b94cac349466cc15
>---------------------------------------------------------------
commit fdfe94a20925e6368c84f037b94cac349466cc15
Author: Simon Marlow <smarlow at fb.com>
Date: Fri Jul 22 04:42:14 2016 -0700
Remove NFData instances that are now in GHC
>---------------------------------------------------------------
fdfe94a20925e6368c84f037b94cac349466cc15
haddock-api/src/Haddock/Types.hs | 4 ----
1 file changed, 4 deletions(-)
diff --git a/haddock-api/src/Haddock/Types.hs b/haddock-api/src/Haddock/Types.hs
index 1499509..68ee3d9 100644
--- a/haddock-api/src/Haddock/Types.hs
+++ b/haddock-api/src/Haddock/Types.hs
@@ -342,10 +342,6 @@ instance (NFData a, NFData mod)
DocHeader a -> a `deepseq` ()
-instance NFData Name where rnf x = seq x ()
-instance NFData OccName where rnf x = seq x ()
-instance NFData ModuleName where rnf x = seq x ()
-
instance NFData id => NFData (Header id) where
rnf (Header a b) = a `deepseq` b `deepseq` ()
More information about the ghc-commits
mailing list