[commit: ghc] master: Additions to users' guide and release notes (fd6b24f)

git at git.haskell.org git at git.haskell.org
Wed Aug 5 12:44:19 UTC 2015


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

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

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

commit fd6b24f1ef8ff26c97cb7e48bad8645cc63d2001
Author: RyanGlScott <ryan.gl.scott at gmail.com>
Date:   Wed Aug 5 14:23:32 2015 +0200

    Additions to users' guide and release notes
    
    This makes two changes to the documentation:
    
    * Adds a comment in the release notes about the ability to
      quote primitive chars and strings in TH (see D1054)
    * Removes an outdated comment in the users' guide about TH not
      being able to handle `PartialTypeSignatures` (which was fixed in
      D1048)
    
    Reviewers: goldfire, austin, simonpj, bgamari
    
    Reviewed By: simonpj, bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1125


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

fd6b24f1ef8ff26c97cb7e48bad8645cc63d2001
 docs/users_guide/7.12.1-notes.xml | 10 ++++++++++
 docs/users_guide/glasgow_exts.xml |  7 -------
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/docs/users_guide/7.12.1-notes.xml b/docs/users_guide/7.12.1-notes.xml
index 3efdd19..d8519d3 100644
--- a/docs/users_guide/7.12.1-notes.xml
+++ b/docs/users_guide/7.12.1-notes.xml
@@ -178,6 +178,16 @@
                     counterparts.
                 </para>
             </listitem>
+             <listitem>
+                 <para>
+                     Primitive chars (e.g., <literal>[| 'a'# |]</literal>) and
+                     primitive strings (e.g., <literal>[| "abc"# |]</literal>)
+                     can now be quoted with Template Haskell. The
+                     <literal>Lit</literal> data type also has a new
+                     constructor, <literal>CharPrimL</literal>, for primitive
+                     char literals.
+                </para>
+            </listitem>
        </itemizedlist>
     </sect3>
 
diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index f6a4403..d1a908e 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -9926,13 +9926,6 @@ module M where
             Trac #10267</ulink>)
             </para>
           </listitem>
-          <listitem>
-            <para>
-            Partial type signatures (see
-            <ulink url="https://ghc.haskell.org/trac/ghc/ticket/10548">
-            Trac #10548</ulink>)
-            </para>
-          </listitem>
         </itemizedlist>
         </para>
       </listitem>



More information about the ghc-commits mailing list