[commit: ghc] master: user-guide: Mention COMPLETE pragma in release notes (3201d85)

git at git.haskell.org git at git.haskell.org
Tue Oct 3 21:56:38 UTC 2017


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

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

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

commit 3201d85f48e47ea10a49d4222ca0570824aa81d8
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Tue Oct 3 15:09:41 2017 -0400

    user-guide: Mention COMPLETE pragma in release notes
    
    Reviewers: austin
    
    Subscribers: rwbarton, thomie
    
    GHC Trac Issues: #14305
    
    Differential Revision: https://phabricator.haskell.org/D4059


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

3201d85f48e47ea10a49d4222ca0570824aa81d8
 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 89acec8..ca045ee 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