[commit: ghc] ghc-8.0: Small doc fix (07dc7fc)
git at git.haskell.org
git at git.haskell.org
Mon Jan 25 15:57:32 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.0
Link : http://ghc.haskell.org/trac/ghc/changeset/07dc7fc4ba38dace276b446a1149c7e36ec39024/ghc
>---------------------------------------------------------------
commit 07dc7fc4ba38dace276b446a1149c7e36ec39024
Author: Adam Sandberg Eriksson <adam at sandbergericsson.se>
Date: Sat Jan 23 13:13:07 2016 +0100
Small doc fix
Reviewers: austin, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1828
(cherry picked from commit 06c2547326773db85af9c8a076d6ad2710aa5912)
>---------------------------------------------------------------
07dc7fc4ba38dace276b446a1149c7e36ec39024
docs/users_guide/glasgow_exts.rst | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst
index f4eb7e2..769acd4 100644
--- a/docs/users_guide/glasgow_exts.rst
+++ b/docs/users_guide/glasgow_exts.rst
@@ -12623,7 +12623,7 @@ optionally had by adding ``!`` in front of a variable.
``Strict`` implies :ref:`StrictData <strict-data>`.
-- **Function definitions.**
+- **Function definitions**
When the user writes ::
@@ -12635,7 +12635,7 @@ optionally had by adding ``!`` in front of a variable.
Adding ``~`` in front of ``x`` gives the regular lazy behavior.
-- **Let/where bindings.**
+- **Let/where bindings**
When the user writes ::
@@ -12691,7 +12691,7 @@ optionally had by adding ``!`` in front of a variable.
all get implicit bangs on the ``x`` pattern.
-- ** Nested patterns **
+- **Nested patterns**
Notice that we do *not* put bangs on nested patterns. For
example ::
@@ -12710,7 +12710,7 @@ optionally had by adding ``!`` in front of a variable.
:ref:`strict-modularity` below). So ``p`` and ``q`` may end up bound to
undefined. See also :ref:`recursive-and-polymorphic-let-bindings` below.
-- **Top level bindings.**
+- **Top level bindings**
are unaffected by ``Strict``. For example: ::
@@ -12720,7 +12720,7 @@ optionally had by adding ``!`` in front of a variable.
Here ``x`` and the pattern binding ``(y,z)`` remain lazy. Reason:
there is no good moment to force them, until first use.
-- **Newtypes.**
+- **Newtypes**
There is no effect on newtypes, which simply rename existing types.
For example: ::
More information about the ghc-commits
mailing list