summaryrefslogtreecommitdiff
path: root/docs/users_guide
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krz.gogolewski@gmail.com>2022-10-03 21:01:42 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-10-21 03:00:00 -0400
commit0eba81e8b02cb964cd1be5a6161e81eef3ef5870 (patch)
treeef7a2d0aad280eb8e807be7a2c7a5edd2ae42a20 /docs/users_guide
parente3b3986e2f06880114644069da797201ee0a53cb (diff)
downloadhaskell-0eba81e8b02cb964cd1be5a6161e81eef3ef5870.tar.gz
Fix syntax
Diffstat (limited to 'docs/users_guide')
-rw-r--r--docs/users_guide/exts/template_haskell.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/users_guide/exts/template_haskell.rst b/docs/users_guide/exts/template_haskell.rst
index f4f95fedf5..be2ce2c0bf 100644
--- a/docs/users_guide/exts/template_haskell.rst
+++ b/docs/users_guide/exts/template_haskell.rst
@@ -164,7 +164,7 @@ The :extension:`TemplateHaskellQuotes` extension is considered safe under
character. For example, if the function is called ``f'7`` (which is a
legal Haskell identifier), an attempt to quote it as ``'f'7`` would be
parsed as the character literal ``'f'`` followed by the numeric literal
- ``7``. As for promoted constructors (:ref:`_promotion-syntax`), the
+ ``7``. As for promoted constructors (:ref:`promotion-syntax`), the
workaround is to add a space between the quote and the name. The name of
the function ``f'7`` is thus written ``' f'7``.