[commit: ghc] ghc-8.2: user-guide: Mention COMPLETE pragma in release notes (b5c50d6)

git at git.haskell.org git at git.haskell.org
Tue Oct 3 14:48:37 UTC 2017


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

On branch  : ghc-8.2
Link       : http://ghc.haskell.org/trac/ghc/changeset/b5c50d60111ec826a76fc6415dcb1bce60fe8f42/ghc

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

commit b5c50d60111ec826a76fc6415dcb1bce60fe8f42
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon Oct 2 10:59:13 2017 -0400

    user-guide: Mention COMPLETE pragma in release notes


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

b5c50d60111ec826a76fc6415dcb1bce60fe8f42
 docs/users_guide/8.2.1-notes.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docs/users_guide/8.2.1-notes.rst b/docs/users_guide/8.2.1-notes.rst
index 43134fa..b591549 100644
--- a/docs/users_guide/8.2.1-notes.rst
+++ b/docs/users_guide/8.2.1-notes.rst
@@ -54,6 +54,10 @@ Language
 - Support for overloaded record fields via a new ``HasField`` class and
   associated compiler logic (see :ref:`record-field-selector-polymorphism`)
 
+- GHC now recognizes the ``COMPLETE`` language pragma, allowing the user to
+  specify sets of patterns (including pattern synonyms) which constitute a
+  complete pattern match. See :ref:`complete-pragma` for details.
+
 Compiler
 ~~~~~~~~
 



More information about the ghc-commits mailing list