Skip to content

Commit d5c938e

Browse files
simonpjs-and-witch
andauthored
Update proposals/0000-ghc-module-naming.rst
Typo Co-authored-by: Andrei Borzenkov <[email protected]>
1 parent 5d0b2e0 commit d5c938e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/0000-ghc-module-naming.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,5 +184,5 @@ Alternatives
184184
the module moves from ``ghc-experimental`` to ``base``. For example, we might add ``Data.Tuple`` to ``ghc-experimental`` containing the new type constructors ``Tuple2``, ``Tuple3`` etc that are proposed in `GHC Proposal 475 <https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0475-tuple-syntax.rst>`_. However:
185185

186186
* In the meantime there are two modules both called ``Data.Tuple``. This is bad. Which one does ``import Data.Tuple`` import? (Look at the Cabal file, perhaps?) How can I import both? (Package-qualified imports perhaps.) So it will really only help in the case of a brand-new module, not already in ``base``.
187-
* It loses the explicit cue, in the source code, given by ``import Experimental.Data.Tuple``.
187+
* It loses the explicit cue, in the source code, given by ``import Data.Tuple.Experimental``.
188188

0 commit comments

Comments
 (0)