summaryrefslogtreecommitdiff
path: root/docs/users_guide
diff options
context:
space:
mode:
authorAdam Sandberg Eriksson <adam@sandbergericsson.se>2016-01-23 13:13:07 +0100
committerBen Gamari <ben@smart-cactus.org>2016-01-23 13:13:15 +0100
commit06c2547326773db85af9c8a076d6ad2710aa5912 (patch)
tree967a840832306185797fabe62d212586b3da4ff9 /docs/users_guide
parentf42db1574935b088cfc13cca7c935990002651dc (diff)
downloadhaskell-06c2547326773db85af9c8a076d6ad2710aa5912.tar.gz
Small doc fix
Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1828
Diffstat (limited to 'docs/users_guide')
-rw-r--r--docs/users_guide/glasgow_exts.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst
index d4ca508142..055a558503 100644
--- a/docs/users_guide/glasgow_exts.rst
+++ b/docs/users_guide/glasgow_exts.rst
@@ -4502,7 +4502,7 @@ Multi-parameter type classes
:implies: :ghc-flag:`-XConstrainedClassMethods`
- Allow the definition of typeclasses with more than one parameter.
+ Allow the definition of typeclasses with more than one parameter.
Multi-parameter type classes are permitted, with flag
:ghc-flag:`-XMultiParamTypeClasses`. For example: ::
@@ -5277,7 +5277,7 @@ Overlapping instances
Deprecated flags to weaken checks intended to ensure instance resolution
termination.
-
+
In general, as discussed in :ref:`instance-resolution`, *GHC requires
that it be unambiguous which instance declaration should be used to
resolve a type-class constraint*. GHC also provides a way to to loosen
@@ -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: ::