summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-08-23 13:30:44 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-12-03 10:12:04 -0500
commit81082cf410fdcdbf10627f5334cc1dba1a9a2e06 (patch)
tree49bb8038aab46f97ea2414ffc60652800614d4c2 /docs
parent0e274c39bf836d5bb846f5fa08649c75f85326ac (diff)
downloadhaskell-81082cf410fdcdbf10627f5334cc1dba1a9a2e06.tar.gz
Revert "Data.List specialization to []"
This reverts commit bddecda1a4c96da21e3f5211743ce5e4c78793a2. This implements the first step in the plan formulated in #20025 to improve the communication and migration strategy for the proposed changes to Data.List. Requires changing the haddock submodule to update the test output.
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/using-warnings.rst9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst
index 6ddeb66e41..db91a760de 100644
--- a/docs/users_guide/using-warnings.rst
+++ b/docs/users_guide/using-warnings.rst
@@ -275,8 +275,13 @@ of ``-W(no-)*``.
:since: 8.10
Warns on qualified imports of core library modules which are subject to
- change in future GHC releases. Currently there are no modules
- covered by this warning.
+ change in future GHC releases. Currently the following modules are covered
+ by this warning:
+
+ - ``Data.List`` due to the future addition of ``Data.List.singleton`` and
+ specialisation of exports to the ``[]`` type. See the
+ `mailing list <https://groups.google.com/forum/#!topic/haskell-core-libraries/q3zHLmzBa5E>`_
+ for details.
This warning can be addressed by either adding an explicit import list or
using a ``qualified`` import.