diff options
author | Krzysztof Gogolewski <krz.gogolewski@gmail.com> | 2022-10-03 21:01:42 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-10-21 03:00:00 -0400 |
commit | 0eba81e8b02cb964cd1be5a6161e81eef3ef5870 (patch) | |
tree | ef7a2d0aad280eb8e807be7a2c7a5edd2ae42a20 /docs | |
parent | e3b3986e2f06880114644069da797201ee0a53cb (diff) | |
download | haskell-0eba81e8b02cb964cd1be5a6161e81eef3ef5870.tar.gz |
Fix syntax
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/exts/template_haskell.rst | 2 |
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``. |