[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 19:21:17 UTC 2024



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


Commits:
698fb2e5 by Ben Gamari at 2024-02-23T14:08:46-05:00
ghc-internal: Move modules into GHC.Internal.* namespace

- - - - -
2d87a9d3 by Ben Gamari at 2024-02-23T14:08:46-05:00
ghc-internal: Rewrite `@since ` to `@since base-`

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

- - - - -
835fc9cc by Ben Gamari at 2024-02-23T14:08:46-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.

- - - - -
7390d292 by Ben Gamari at 2024-02-23T14:08:47-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`.

- - - - -
14e97364 by Ben Gamari at 2024-02-23T14:08:47-05:00
Move Haddock named chunks

- - - - -
a0f0f8d0 by Ben Gamari at 2024-02-23T14:08:47-05:00
Drop GHC.Internal.Data.Int

- - - - -
a662825b by Ben Gamari at 2024-02-23T14:08:47-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.

- - - - -
493ecb4d by Ben Gamari at 2024-02-23T14:08:47-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.

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

- - - - -


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/Rts/Rts.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
- libraries/base/src/Control/Monad/IO/Class.hs
- libraries/ghc-internal/src/Control/Monad/Instances.hs → libraries/base/src/Control/Monad/Instances.hs
- + libraries/base/src/Control/Monad/ST.hs


The diff was not included because it is too large.


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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/c26585caa783a03db05137bc80725e0eb3712834...493ecb4d42d6abf79e049771cf4c6fa3f938517c
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/d64a3ea9/attachment.html>


More information about the ghc-commits mailing list