[commit: ghc] master: users guide: Add links to release notes (5040686)

git at git.haskell.org git at git.haskell.org
Thu Jan 7 00:20:47 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/5040686532d15a11a2ff52a020fc77de9374b7e3/ghc

>---------------------------------------------------------------

commit 5040686532d15a11a2ff52a020fc77de9374b7e3
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Jan 6 23:59:30 2016 +0100

    users guide: Add links to release notes


>---------------------------------------------------------------

5040686532d15a11a2ff52a020fc77de9374b7e3
 docs/users_guide/8.0.1-notes.rst  | 18 ++++++++++--------
 docs/users_guide/glasgow_exts.rst |  2 ++
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/docs/users_guide/8.0.1-notes.rst b/docs/users_guide/8.0.1-notes.rst
index be1f65b..33a5c39 100644
--- a/docs/users_guide/8.0.1-notes.rst
+++ b/docs/users_guide/8.0.1-notes.rst
@@ -16,25 +16,26 @@ The highlights, since the 7.10 branch, are:
 
 - nokinds
 
-- Record pattern synonyms
+- Support for :ref:`record pattern synonyms <record-patsyn>`
 
-- ``-XDeriveAnyClass``
+- ``-XDeriveAnyClass`` to conveniently derive default instances (see :ref:`derive-any-class`)
 
 - More reliable DWARF debugging information
 
-- Injective type classes
+- Support for :ref:`injective type classes :ref:`injective-ty-fams`
 
-- Applicative ``do`` notation
+- Applicative ``do`` notation (see :ref:`applicative-do`)
 
 - Support for wildcards in data and type family instances
 
 - ``Strict`` and ``StrictData`` extensions, allowing modules to be compiled with
-   strict-by-default bindings.
+   strict-by-default bindings (see :ref:`strict-haskell`)
 
 - ``DuplicateRecordFields``, allowing multiple datatypes to declare the same
-  record field names provided they are used unambiguously
+  record field names provided they are used unambiguously (see :ref:`duplicate-record-fields`)
 
-- Support for implicit parameters providing light-weight callstacks and source locations
+- Support for implicit parameters providing light-weight
+  :ref:`callstacks and source locations <implicit-callstacks>`
 
 - User-defined error messages for type errors
 
@@ -460,7 +461,8 @@ See ``changelog.md`` in the ``base`` package for full release notes.
   ``zipWithM`` and ``replicateM_`` (see :ghc-ticket:`10168`).
 
 - Add ``GHC.TypeLits.TypeError`` and ``ErrorMessage`` to allow users
-  to define custom compile-time error messages.
+  to define custom compile-time error messages. (see :ref:`custom-errors` and
+  the original :ghc-wiki:`proposal <Proposal/CustomTypeErrors>`).
 
 - The ``Generic`` instance for ``Proxy`` is now poly-kinded (see :ghc-ticket:`10775`)
 
diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst
index 372a033..5808d52 100644
--- a/docs/users_guide/glasgow_exts.rst
+++ b/docs/users_guide/glasgow_exts.rst
@@ -784,6 +784,8 @@ The table below summarises where each kind of pattern synonym can be used.
 | Expression    | No             | Yes (Inferred)| Yes (Explicit)            |
 +---------------+----------------+---------------+---------------------------+
 
+.. _record-patsyns:
+
 Record Pattern Synonyms
 ~~~~~~~~~~~~~~~~~~~~~~~
 



More information about the ghc-commits mailing list