[commit: ghc] master: users-guide: Fix code-block layout for QuantifiedConstraints (43967c0)
git at git.haskell.org
git at git.haskell.org
Mon Sep 17 16:23:46 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/43967c0c7d2d0110cfc5f9d64a7dab3a3dda8953/ghc
>---------------------------------------------------------------
commit 43967c0c7d2d0110cfc5f9d64a7dab3a3dda8953
Author: Takenobu Tani <takenobu.hs at gmail.com>
Date: Mon Sep 17 16:47:02 2018 +0200
users-guide: Fix code-block layout for QuantifiedConstraints
Summary:
Fix code-block layout for QuantifiedConstraints.
[ci skip]
Test Plan: build
Reviewers: bgamari, monoidal
Reviewed By: monoidal
Subscribers: rwbarton, carter
Differential Revision: https://phabricator.haskell.org/D5121
>---------------------------------------------------------------
43967c0c7d2d0110cfc5f9d64a7dab3a3dda8953
docs/users_guide/glasgow_exts.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst
index 0c977d0..6d960a6 100644
--- a/docs/users_guide/glasgow_exts.rst
+++ b/docs/users_guide/glasgow_exts.rst
@@ -9752,7 +9752,7 @@ This idea is very old; see Seciton 7 of `Derivable type classes <https://www.mic
Syntax changes
----------------
-`Haskell 2010 <https://www.haskell.org/onlinereport/haskell2010/haskellch10.html#x17-18000010.5>`_ defines a ``context`` (the bit to the left of ``=>`` in a type) like this ::
+`Haskell 2010 <https://www.haskell.org/onlinereport/haskell2010/haskellch10.html#x17-18000010.5>`_ defines a ``context`` (the bit to the left of ``=>`` in a type) like this
.. code-block:: none
@@ -9762,7 +9762,7 @@ Syntax changes
class ::= qtycls tyvar
| qtycls (tyvar atype1 ... atypen)
-We to extend ``class`` (warning: this is a rather confusingly named non-terminal symbol) with two extra forms, namely precisely what can appear in an instance declaration ::
+We to extend ``class`` (warning: this is a rather confusingly named non-terminal symbol) with two extra forms, namely precisely what can appear in an instance declaration
.. code-block:: none
@@ -9775,9 +9775,9 @@ The ``context =>`` part is optional. That is the only syntactic change to the l
Notes:
-- Where GHC allows extensions instance declarations we allow exactly the same extensions to this new form of ``class``. Specifically, with :extension:`ExplicitForAll` and :extension:`MultiParameterTypeClasses` the syntax becomes ::
+- Where GHC allows extensions instance declarations we allow exactly the same extensions to this new form of ``class``. Specifically, with :extension:`ExplicitForAll` and :extension:`MultiParameterTypeClasses` the syntax becomes
-.. code-block:: none
+ .. code-block:: none
class ::= ...
| [forall tyavrs .] [context =>] qtycls inst1 ... instn
More information about the ghc-commits
mailing list