[Git][ghc/ghc][wip/ghc-internals-3] 8 commits: Allow docstrings after exports

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Thu Feb 22 18:44:22 UTC 2024



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


Commits:
2b30352f by Ben Gamari at 2024-02-22T12:09:39-05:00
Allow docstrings after exports

Here we extend the parser and AST to preserve docstrings following
export items. We then extend Haddock to parse `@since` annotations in
such docstrings, allowing changes in export structure to be properly
documented.

- - - - -
57360196 by Ben Gamari at 2024-02-22T12:10:23-05:00
ghc-internal: Move modules into GHC.Internal.* namespace

- - - - -
abe12f2a by Ben Gamari at 2024-02-22T12:10:23-05:00
ghc-internal: Rewrite `@since ` to `@since base-`

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

- - - - -
cd0b97c7 by Ben Gamari at 2024-02-22T12:10:23-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.

- - - - -
c2d94e56 by Ben Gamari at 2024-02-22T12:10:23-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`.

- - - - -
c60626a1 by Ben Gamari at 2024-02-22T12:10:23-05:00
Move Haddock named chunks

- - - - -
f0b89a5e by Ben Gamari at 2024-02-22T12:10:24-05:00
Drop GHC.Internal.Data.Int

- - - - -
85f91d44 by Ben Gamari at 2024-02-22T12:12:16-05:00
base

- - - - -


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/Hs/Doc.hs
- compiler/GHC/Hs/ImpExp.hs
- compiler/GHC/HsToCore/Docs.hs
- compiler/GHC/Iface/Ext/Ast.hs
- compiler/GHC/Parser.y
- compiler/GHC/Parser/PostProcess.hs
- compiler/GHC/Parser/PostProcess/Haddock.hs
- compiler/GHC/Rename/Names.hs
- compiler/GHC/Tc/Deriv/Generate.hs
- compiler/GHC/Tc/Errors/Hole.hs
- compiler/GHC/Tc/Errors/Ppr.hs
- compiler/GHC/Tc/Gen/Export.hs
- compiler/GHC/Tc/Solver.hs
- compiler/GHC/Types/Name.hs
- compiler/GHC/Types/Name/Cache.hs
- compiler/Language/Haskell/Syntax/ImpExp.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


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/793780eb6c93da675c92fbb2dac2a54b20297da5...85f91d44685cd6a7d548b461244995b6419787bb

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/793780eb6c93da675c92fbb2dac2a54b20297da5...85f91d44685cd6a7d548b461244995b6419787bb
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/20240222/10b207c8/attachment.html>


More information about the ghc-commits mailing list