summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2021-10-06 11:49:24 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-10-07 03:42:01 -0400
commite82c8dd2157ee555ee74f1e713235b9b5fac4535 (patch)
tree0390ccf22cca5a98ce404f48b6c0643ab08afb11
parent6215728705f481861450cc197e5fbcfbf2c1a63f (diff)
downloadhaskell-e82c8dd2157ee555ee74f1e713235b9b5fac4535.tar.gz
Fix rst syntax mistakes in release notes
-rw-r--r--docs/users_guide/9.0.1-notes.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/users_guide/9.0.1-notes.rst b/docs/users_guide/9.0.1-notes.rst
index 32f4b14847..a78b8c09f8 100644
--- a/docs/users_guide/9.0.1-notes.rst
+++ b/docs/users_guide/9.0.1-notes.rst
@@ -241,20 +241,20 @@ Language
* The behavior of :extension:`NegativeLiterals` changed, and now we require
that a negative literal must not be preceded by a closing token (see
- `GHC Proposal #229 <https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0229-whitespace-bang-patterns.rst>`__
+ `GHC Proposal #229 <https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0229-whitespace-bang-patterns.rst>`_)
for the definition of a closing token). In other words, we parse ``f -123``
as ``f (-123)``, but ``x-123`` as ``(-) x 123``. Before this amendment,
:extension:`NegativeLiterals` caused ``x-123`` to be parsed as ``x(-123)``.
* GHC is now more sensitive to whitespace between infix operators and their arguments,
requiring it in some cases where it was not previously necessary as the result of the
- :ref:`whitespace-sensitive operator parsing proposal <https://github.com/ghc-proposals/ghc-proposals/pull/229>`.
+ `whitespace-sensitive operator parsing proposal <https://github.com/ghc-proposals/ghc-proposals/pull/229>`_.
It also affects the usage of ``!``,``~`` and ``@`` as BangPatterns, irrefutable patterns
and type applications respectively.
This means that expressions that were parsed as visible type applications
in previous versions when the ``@`` was surrounded by whitespace will now
be parsed as an operator application.
- For more details see the `migration guide on the wiki <https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.0#whitespace-sensitive-and->`.
+ For more details see the `migration guide on the wiki <https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.0#whitespace-sensitive-and->`_.
Compiler
~~~~~~~~