[commit: ghc] master: users-guide: Note multiple pattern signature change in relnotes (bf7cbe7)

git at git.haskell.org git at git.haskell.org
Mon Jul 4 21:31:39 UTC 2016


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

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

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

commit bf7cbe78058c1848dedc2cbf0699ac4a41057ab7
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Fri Jul 1 14:27:00 2016 +0200

    users-guide: Note multiple pattern signature change in relnotes


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

bf7cbe78058c1848dedc2cbf0699ac4a41057ab7
 docs/users_guide/8.2.1-notes.rst  | 3 +++
 docs/users_guide/glasgow_exts.rst | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/docs/users_guide/8.2.1-notes.rst b/docs/users_guide/8.2.1-notes.rst
index f19512c..0a9963f 100644
--- a/docs/users_guide/8.2.1-notes.rst
+++ b/docs/users_guide/8.2.1-notes.rst
@@ -22,6 +22,9 @@ Language
 
 -  TODO FIXME.
 
+- Pattern synonym signatures can now be applied to multiple patterns, just like
+  value-level binding signatures. See :ref:`patsyn-typing` for details.
+
 Compiler
 ~~~~~~~~
 
diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst
index 6cf9883..8a35899 100644
--- a/docs/users_guide/glasgow_exts.rst
+++ b/docs/users_guide/glasgow_exts.rst
@@ -4256,6 +4256,9 @@ A module which imports ``MyNum(..)`` from ``Example`` and then re-exports
 ``Example``. A more complete specification can be found on the
 :ghc-wiki:`wiki. <PatternSynonyms/AssociatingSynonyms>`
 
+
+.. _patsyn-typing:
+
 Typing of pattern synonyms
 --------------------------
 



More information about the ghc-commits mailing list