[commit: ghc] master: Some release note additions. (cf8fba9)

Austin Seipp a at ghc.haskell.org
Fri Jul 26 14:11:38 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/cf8fba957d86a291eea971ef12d3ba76ffcfef13

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

commit cf8fba957d86a291eea971ef12d3ba76ffcfef13
Author: Austin Seipp <aseipp at pobox.com>
Date:   Fri Jul 26 07:11:30 2013 -0500

    Some release note additions.
    
    Signed-off-by: Austin Seipp <aseipp at pobox.com>

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

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

diff --git a/docs/users_guide/7.8.1-notes.xml b/docs/users_guide/7.8.1-notes.xml
index 6c829c8..4152afe 100644
--- a/docs/users_guide/7.8.1-notes.xml
+++ b/docs/users_guide/7.8.1-notes.xml
@@ -30,17 +30,22 @@
 
         <listitem>
             <para>
-                GHC now supports overloading list literals using the new
-                <literal>OverloadedLists</literal> extension.
+                It is now possible to declare a 'closed' <literal>type
+                family</literal> when using the
+                <literal>TypeFamilies</literal> extension. A closed
+                <literal>type family</literal> cannot have any
+                instances created other than the ones in its
+                definition.
 
                 TODO FIXME: reference.
            </para>
        </listitem>
 
+
         <listitem>
             <para>
-                GHC now supports overlapping type family instances when
-                <literal>TypeFamilies</literal> are enabled.
+                GHC now supports overloading list literals using the new
+                <literal>OverloadedLists</literal> extension.
 
                 TODO FIXME: reference.
            </para>
@@ -57,11 +62,12 @@
 
         <listitem>
             <para>
-                By default, GHC will now unbox all "small" strict fields in a
-                data type. A "small" data type is one whose size is equivalent
-                to or smaller than the native word size of the machine. This
-                means you no longer have to specify <literal>UNPACK</literal>
-                pragmas for e.g.  <literal>Int</literal> fields. This also
+                By default, GHC will now unbox all "small" strict
+                fields in a data type. A "small" data type is one
+                whose size is equivalent to or smaller than the native
+                word size of the machine. This means you no longer
+                have to specify <literal>UNPACK</literal> pragmas for
+                e.g. strict <literal>Int</literal> fields. This also
                 applies to floating-point values.
            </para>
        </listitem>
@@ -124,7 +130,12 @@
         <itemizedlist>
             <listitem>
                 <para>
-                    TODO FIXME
+                    There is a new extension,
+                    <literal>NullaryTypeClasses</literal>, which
+                    allows you to declare a type class without any
+                    parameters.
+
+                    TODO FIXME: example?
                </para>
            </listitem>
        </itemizedlist>
@@ -152,6 +163,13 @@
                     entity which is not exported.
                </para>
            </listitem>
+            <listitem>
+                <para>
+                    The LLVM backend was overhauled and rewritten, and
+                    should hopefully be easier to maintain and work on
+                    in the future.
+               </para>
+           </listitem>
        </itemizedlist>
     </sect3>
 
@@ -160,7 +178,11 @@
         <itemizedlist>
             <listitem>
                 <para>
-                    TODO FIXME
+                    GHCi now supports a <literal>prompt2</literal>
+                    setting, which allows you to customize the
+                    continuation prompt of multi-line input.
+
+                    TODO FIXME: reference.
                </para>
            </listitem>
        </itemizedlist>
@@ -291,6 +313,13 @@
                     which is a non-blocking version.
                </para>
            </listitem>
+            <listitem>
+                <para>
+                    There are now byte endian-swapping primitives
+                    available in <literal>Data.Word</literal>, which
+                    use optimized machine instructions when available.
+               </para>
+           </listitem>
        </itemizedlist>
     </sect3>
 






More information about the ghc-commits mailing list