summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPepe Iborra <pepeiborra@gmail.com>2021-11-13 09:47:23 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-11-25 05:00:43 -0500
commit47f36440075b766dcb0bab75ff6d51c6e6c843b2 (patch)
treee44c5ccda3a178147f884ad440465a6122e2d36d
parent52cdc2fe84b5d27de10845795ef56d0c89ff3091 (diff)
downloadhaskell-47f36440075b766dcb0bab75ff6d51c6e6c843b2.tar.gz
Drop instance Semigroup ModuleEnv
There is more than one possible Semigroup and it is not needed since plusModuleEnv can be used directly
-rw-r--r--compiler/GHC/Unit/Module/Env.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/GHC/Unit/Module/Env.hs b/compiler/GHC/Unit/Module/Env.hs
index be596bbc76..fff61b871b 100644
--- a/compiler/GHC/Unit/Module/Env.hs
+++ b/compiler/GHC/Unit/Module/Env.hs
@@ -51,7 +51,6 @@ import qualified GHC.Data.FiniteMap as Map
-- | A map keyed off of 'Module's
newtype ModuleEnv elt = ModuleEnv (Map NDModule elt)
- deriving (Monoid, Semigroup)
{-
Note [ModuleEnv performance and determinism]