diff options
author | Pepe Iborra <pepeiborra@gmail.com> | 2021-11-13 09:47:23 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-11-25 05:00:43 -0500 |
commit | 47f36440075b766dcb0bab75ff6d51c6e6c843b2 (patch) | |
tree | e44c5ccda3a178147f884ad440465a6122e2d36d | |
parent | 52cdc2fe84b5d27de10845795ef56d0c89ff3091 (diff) | |
download | haskell-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.hs | 1 |
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] |