summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorromes <rodrigo.m.mesquita@gmail.com>2023-02-21 18:58:10 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-02-21 23:58:42 -0500
commitf11d9c274d728696bc173c62a2ead62b8288836f (patch)
tree3d8c043417f95bc5e6436e9e0d61f48886742bb6 /docs
parent9296660b131d42f1b1f9c421040c5746d5c56989 (diff)
downloadhaskell-f11d9c274d728696bc173c62a2ead62b8288836f.tar.gz
fix: Update documentation links
Closes #23008 Additionally batches some fixes to pointers to the Note [Wired-in units], and a typo in said note.
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/exts/deriving_strategies.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/users_guide/exts/deriving_strategies.rst b/docs/users_guide/exts/deriving_strategies.rst
index 2a0e6b54b1..77e5aa5ffb 100644
--- a/docs/users_guide/exts/deriving_strategies.rst
+++ b/docs/users_guide/exts/deriving_strategies.rst
@@ -70,7 +70,7 @@ If an explicit deriving strategy is not given, multiple strategies may apply.
In that case, GHC chooses the strategy as follows:
1. Stock type classes, i.e. those specified in the report and those enabled by
- `language extensions <#deriving-extra>`__, are derived using the ``stock``
+ :ref:`language extensions <deriving-extra>`, are derived using the ``stock``
strategy, with the following exception:
* For newtypes, ``Eq``, ``Ord``, ``Ix`` and ``Bounded`` are always derived
@@ -82,7 +82,7 @@ In that case, GHC chooses the strategy as follows:
using the ``newtype`` strategy if ``GeneralizedNewtypeDeriving`` is
enabled and the derivation succeeds.
-2. For other any type class:
+2. For any other type class:
1. When :extension:`DeriveAnyClass` is enabled, use ``anyclass``.