diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-04-05 17:25:06 +0200 |
---|---|---|
committer | Sylvain Henry <sylvain@haskus.fr> | 2020-04-18 20:04:14 +0200 |
commit | 3ca52151881451ce5b3a7740d003e811b586140d (patch) | |
tree | 2dda7d3796d300063111460929489e146701522c /compiler/GHC/Plugins.hs | |
parent | 15ab6cd548f284732a7f89d78c2b89b1bfc4ea1d (diff) | |
download | haskell-3ca52151881451ce5b3a7740d003e811b586140d.tar.gz |
GHC.Core.Opt renaming
* GHC.Core.Op => GHC.Core.Opt
* GHC.Core.Opt.Simplify.Driver => GHC.Core.Opt.Driver
* GHC.Core.Opt.Tidy => GHC.Core.Tidy
* GHC.Core.Opt.WorkWrap.Lib => GHC.Core.Opt.WorkWrap.Utils
As discussed in:
* https://mail.haskell.org/pipermail/ghc-devs/2020-April/018758.html
* https://gitlab.haskell.org/ghc/ghc/issues/13009#note_264650
Diffstat (limited to 'compiler/GHC/Plugins.hs')
-rw-r--r-- | compiler/GHC/Plugins.hs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/GHC/Plugins.hs b/compiler/GHC/Plugins.hs index 448b184f39..ce9d019a70 100644 --- a/compiler/GHC/Plugins.hs +++ b/compiler/GHC/Plugins.hs @@ -6,7 +6,7 @@ -- with saying "import GHC.Plugins". -- -- Particularly interesting modules for plugin writers include --- "GHC.Core" and "GHC.Core.Op.Monad". +-- "GHC.Core" and "GHC.Core.Opt.Monad". module GHC.Plugins ( module GHC.Driver.Plugins , module GHC.Types.Name.Reader @@ -15,7 +15,7 @@ module GHC.Plugins , module GHC.Types.Var , module GHC.Types.Id , module GHC.Types.Id.Info - , module GHC.Core.Op.Monad + , module GHC.Core.Opt.Monad , module GHC.Core , module GHC.Types.Literal , module GHC.Core.DataCon @@ -65,7 +65,7 @@ import GHC.Types.Id hiding ( lazySetIdInfo, setIdExported, setIdNotExport import GHC.Types.Id.Info -- Core -import GHC.Core.Op.Monad +import GHC.Core.Opt.Monad import GHC.Core import GHC.Types.Literal import GHC.Core.DataCon @@ -123,8 +123,8 @@ import GHC.Tc.Utils.Env ( lookupGlobal ) import qualified Language.Haskell.TH as TH -{- This instance is defined outside GHC.Core.Op.Monad.hs so that - GHC.Core.Op.Monad does not depend on GHC.Tc.Utils.Env -} +{- This instance is defined outside GHC.Core.Opt.Monad.hs so that + GHC.Core.Opt.Monad does not depend on GHC.Tc.Utils.Env -} instance MonadThings CoreM where lookupThing name = do { hsc_env <- getHscEnv ; liftIO $ lookupGlobal hsc_env name } |