Skip to content

Commit 0ea3a27

Browse files
committed
Introduce 3 libraries in dependency not reverse dependency order
1 parent 2dcf6b4 commit 0ea3a27

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

proposals/accepted/050-ghc-base-libraries.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,19 +72,19 @@ Proposal
7272

7373
We propose to divide ``base`` into three packages:
7474

75+
- ``ghc-internals``: exposes aspects of GHC's internals that may be of interest to "hard-core" developers interested in maximum performance (see `Nikita's blog post <https://nikita-volkov.github.io/internal-convention-is-a-mistake/>`__).
76+
The API of ``ghc-internals`` is of no direct interest to the CLC --- only its effects on the API of base.
77+
78+
- ``base``: as now, whose API is curated by CLC.
79+
Depends on ``ghc-internals``, and hence on ``ghc-bignum`` and ``ghc-prim``.
80+
7581
- ``ghc-experimental``, initially empty, depends on ``base`` and on ``ghc-internals``.
7682
Functions and data types here are intended to have their ultimate home in base, but while they are settling down they are subject to much weaker stability guarantees.
7783
Generally, new functions and types introduced in GHC Proposals would start their life here.
7884
Example: new type families and type constructors for tuples, `GHC Proposal #475 <https://github.com/ghc-proposals/ghc-proposals/pull/475>`__.
7985

8086
Another example: future APIs to access RTS statistics, which are fairly stable and user-exposed, but which are (by design) coupled closely to GHC's runtime and hence may change.
8187

82-
- ``base``: as now, whose API is curated by CLC.
83-
Depends on ``ghc-internals``, and hence on ``ghc-bignum`` and ``ghc-prim``.
84-
85-
- ``ghc-internals``: exposes aspects of GHC's internals that may be of interest to "hard-core" developers interested in maximum performance (see `Nikita's blog post <https://nikita-volkov.github.io/internal-convention-is-a-mistake/>`__).
86-
The API of ``ghc-internals`` is of no direct interest to the CLC --- only its effects on the API of base.
87-
8888
All three packages conform rigorously to the PVP.
8989
(But see Section 5.3)
9090

0 commit comments

Comments
 (0)