Skip to content

Commit 143b32c

Browse files
committed
One more wibble
1 parent cf96823 commit 143b32c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

proposals/0000-ghc-module-naming.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ Why ``GHC.Internal.*`` for modules in ``ghc-internal``? Would ``GHC.*`` not be
8383

8484
* The prefix ``GHC.Internal`` serves as an additional clue to the importing module that this API is not stable.
8585

86+
* Since ``ghc-internal`` is brand new, we can name its modules however we like. However, ``ghc-prim`` exists
87+
already and we may have to live with modules like ``GHC.CString`` in ``ghc-prim`` for a while. Perhaps
88+
we make the switch slowly over time, by introducing ``GHC.Internal.CString`` and deprecating ``GHC.CString``.
89+
8690
Note that among the GHC implementation packages (``ghc-prim``, ``ghc-internal``, ``ghc-bignum`` etc) there
8791
is no expectation that the module name signals which package the module is in. It's just an internal
8892
implementation matter.

0 commit comments

Comments
 (0)