You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: proposals/accepted/050-ghc-base-libraries.rst
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,19 +72,19 @@ Proposal
72
72
73
73
We propose to divide ``base`` into three packages:
74
74
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
+
75
81
- ``ghc-experimental``, initially empty, depends on ``base`` and on ``ghc-internals``.
76
82
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.
77
83
Generally, new functions and types introduced in GHC Proposals would start their life here.
78
84
Example: new type families and type constructors for tuples, `GHC Proposal #475 <https://github.com/ghc-proposals/ghc-proposals/pull/475>`__.
79
85
80
86
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.
81
87
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.
0 commit comments