[commit: ghc] master: Release notes: mention -XEmptyCase (fa3ffb4)

git at git.haskell.org git at git.haskell.org
Fri Sep 27 08:58:58 CEST 2013


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

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

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

commit fa3ffb43144eadc406031110b01ba3dc4f9bd94e
Author: Krzysztof Gogolewski <krz.gogolewski at gmail.com>
Date:   Fri Sep 27 08:57:55 2013 +0200

    Release notes: mention -XEmptyCase


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

fa3ffb43144eadc406031110b01ba3dc4f9bd94e
 docs/users_guide/7.8.1-notes.xml |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/docs/users_guide/7.8.1-notes.xml b/docs/users_guide/7.8.1-notes.xml
index 52f3e7c..16e89e9 100644
--- a/docs/users_guide/7.8.1-notes.xml
+++ b/docs/users_guide/7.8.1-notes.xml
@@ -300,6 +300,17 @@
         <itemizedlist>
             <listitem>
                 <para>
+                    There is a new extension,
+                    <literal>EmptyCase</literal>, which allows
+                    to write a case expression with no alternatives
+                    <literal>case ... of {}</literal>.
+               </para>
+           </listitem>
+       </itemizedlist>
+
+        <itemizedlist>
+            <listitem>
+                <para>
                      The <literal>IncoherentInstances</literal>
                      extension has seen a behavioral change, and is
                      now 'liberated' and less conservative during




More information about the ghc-commits mailing list