[Git][ghc/ghc][wip/ghc-internals-3] 8 commits: ghc-internal: Move modules into GHC.Internal.* namespace

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Fri Feb 23 21:38:05 UTC 2024



Ben Gamari pushed to branch wip/ghc-internals-3 at Glasgow Haskell Compiler / GHC


Commits:
761e36f1 by Ben Gamari at 2024-02-23T16:35:40-05:00
ghc-internal: Move modules into GHC.Internal.* namespace

Bumps haddock submodule due to testsuite output changes.

- - - - -
a9684e70 by Ben Gamari at 2024-02-23T16:35:40-05:00
ghc-internal: Rewrite `@since ` to `@since base-`

These will be incrementally moved to the export sites in `base` where
possible.

- - - - -
ca201ff7 by Ben Gamari at 2024-02-23T16:35:40-05:00
base: Migrate Haddock `not-home` pragmas from `ghc-internal`

This ensures that we do not use `base` stub modules as declarations'
homes when not appropriate.

- - - - -
a3460bbc by Ben Gamari at 2024-02-23T16:35:40-05:00
base: Partially freeze exports of GHC.Base

Sadly there are still a few module reexports. However, at least we have
decoupled from the exports of `GHC.Internal.Base`.

- - - - -
61b604f5 by Ben Gamari at 2024-02-23T16:35:40-05:00
Move Haddock named chunks

- - - - -
a5664dfd by Ben Gamari at 2024-02-23T16:35:40-05:00
Drop GHC.Internal.Data.Int

- - - - -
f32e49c7 by Ben Gamari at 2024-02-23T16:35:40-05:00
compiler: Fix mention to `GHC....` modules in wasm desugaring

Really, these references should be via known-key names anyways. I have
fixed the proximate issue here but have opened #24472 to track this.

- - - - -
ec5b2024 by Ben Gamari at 2024-02-23T16:35:41-05:00
Accept performance shifts from ghc-internal restructure

As expected, Haddock now does more work. Less expected is that some
other testcases actually get faster, presumably due to less interface
file loading. As well, the size_hello_artifact test regressed a bit when
debug information is enabled due to debug information for the new stub
symbols.

Metric Decrease:
    T12227
    T13056
Metric Increase:
    haddock.Cabal
    haddock.base
    MultiLayerModulesTH_OneShot
    size_hello_artifact

- - - - -


30 changed files:

- compiler/GHC/Builtin/Names.hs
- compiler/GHC/Builtin/Types.hs
- compiler/GHC/Builtin/Types/Literals.hs
- compiler/GHC/Core/Make.hs
- compiler/GHC/HsToCore/Foreign/Wasm.hs
- compiler/GHC/StgToJS/Linker/Linker.hs
- compiler/GHC/StgToJS/Linker/Utils.hs
- compiler/GHC/StgToJS/Prim.hs
- compiler/GHC/StgToJS/Rts/Rts.hs
- compiler/GHC/StgToJS/Types.hs
- compiler/GHC/Tc/Deriv/Generate.hs
- compiler/GHC/Tc/Errors/Hole.hs
- compiler/GHC/Tc/Solver.hs
- compiler/GHC/Types/Name.hs
- compiler/GHC/Types/Name/Cache.hs
- ghc/GHCi/UI/Monad.hs
- libraries/base/base.cabal
- libraries/base/src/Control/Applicative.hs
- + libraries/base/src/Control/Arrow.hs
- + libraries/base/src/Control/Category.hs
- libraries/base/src/Control/Concurrent.hs
- libraries/base/src/Control/Concurrent/Chan.hs
- + libraries/base/src/Control/Concurrent/MVar.hs
- libraries/base/src/Control/Concurrent/QSem.hs
- libraries/base/src/Control/Concurrent/QSemN.hs
- libraries/ghc-internal/src/Control/Exception.hs → libraries/base/src/Control/Exception.hs
- + libraries/base/src/Control/Exception/Base.hs
- + libraries/base/src/Control/Monad.hs
- + libraries/base/src/Control/Monad/Fail.hs
- + libraries/base/src/Control/Monad/Fix.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/493ecb4d42d6abf79e049771cf4c6fa3f938517c...ec5b2024f1ff28dd900b1c1ac382f535ff041f31

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/493ecb4d42d6abf79e049771cf4c6fa3f938517c...ec5b2024f1ff28dd900b1c1ac382f535ff041f31
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240223/6278fe82/attachment-0001.html>


More information about the ghc-commits mailing list