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

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Sat Feb 24 16:26:58 UTC 2024



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


Commits:
52a44766 by Ben Gamari at 2024-02-24T11:26:51-05:00
ghc-internal: Move modules into GHC.Internal.* namespace

Bumps haddock submodule due to testsuite output changes.

- - - - -
79a92c10 by Ben Gamari at 2024-02-24T11:26:51-05:00
ghc-internal: Rewrite `@since ` to `@since base-`

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

- - - - -
31e590ce by Ben Gamari at 2024-02-24T11:26:51-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.

- - - - -
ffc82535 by Ben Gamari at 2024-02-24T11:26:51-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`.

- - - - -
5437eba3 by Ben Gamari at 2024-02-24T11:26:51-05:00
Move Haddock named chunks

- - - - -
17d2b505 by Ben Gamari at 2024-02-24T11:26:51-05:00
Drop GHC.Internal.Data.Int

- - - - -
624ebbb7 by Ben Gamari at 2024-02-24T11:26:51-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 the
additional needed refactoring.

- - - - -
c9d7e274 by Ben Gamari at 2024-02-24T11:26:51-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

- - - - -
521296e2 by Ben Gamari at 2024-02-24T11:26:51-05:00
Expose GHC.Wasm.Prim from ghc-experimental

Previously this was only exposed from `ghc-internal` which violates our
agreement that users shall not rely on things exposed from that package.

Fixes #24479.

- - - - -


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
- docs/users_guide/wasm.rst
- 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


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1db1fafcc27224e5d0d2ed0138934f841066f80b...521296e20807c899494b727bf05a8e9444548e79

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1db1fafcc27224e5d0d2ed0138934f841066f80b...521296e20807c899494b727bf05a8e9444548e79
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/20240224/db5a748d/attachment-0001.html>


More information about the ghc-commits mailing list