[Git][ghc/ghc][master] users-guide: Note that GHC2021 doesn't include ExplicitNamespaces

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Tue Aug 15 09:43:32 UTC 2023



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
e194ed2b by Ben Gamari at 2023-08-15T00:58:09-04:00
users-guide: Note that GHC2021 doesn't include ExplicitNamespaces

As noted in #23801.

- - - - -


1 changed file:

- docs/users_guide/exts/control.rst


Changes:

=====================================
docs/users_guide/exts/control.rst
=====================================
@@ -36,6 +36,13 @@ Language extensions can be controlled (i.e. allowed or not) in two ways:
     still happen (e.g. the simplified subsumption change introduced in GHC 9.0
     which caused GHC to reject some programs using :extension:`RankNTypes`).
 
+    Also note that due to a `minor oversight
+    <https://github.com/ghc-proposals/ghc-proposals/issues/551>`_, this
+    extension set behaves slightly differently than enabling each of its
+    constituent extensions. Specifically, while :extension:`TypeOperators` implies
+    :extension:`ExplicitNamespaces`, :extension:`ExplicitNamespaces` is not included
+    in :extension:`GHC2021`.
+
     The ``GHC2021`` language set comprises the following extensions:
 
     .. hlist::
@@ -86,6 +93,7 @@ Language extensions can be controlled (i.e. allowed or not) in two ways:
      * :extension:`TypeApplications`
      * :extension:`TypeOperators`
      * :extension:`TypeSynonymInstances`
+     * :extension:`NoExplicitNamespaces <ExplicitNamespaces>`
 
 
 .. extension:: Haskell2010



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e194ed2bf4002666664def87aad0c4363a917f4e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e194ed2bf4002666664def87aad0c4363a917f4e
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/20230815/82332943/attachment-0001.html>


More information about the ghc-commits mailing list