[commit: ghc] master: Release Notes: New printf features in base (96421e0)

git at git.haskell.org git at git.haskell.org
Tue Sep 17 22:16:49 CEST 2013


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

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

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

commit 96421e0674ba2b69bb19445822886fb179e97608
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Tue Sep 17 10:56:42 2013 +0200

    Release Notes: New printf features in base


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

96421e0674ba2b69bb19445822886fb179e97608
 docs/users_guide/7.8.1-notes.xml |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/docs/users_guide/7.8.1-notes.xml b/docs/users_guide/7.8.1-notes.xml
index 8c6da10..57926ad 100644
--- a/docs/users_guide/7.8.1-notes.xml
+++ b/docs/users_guide/7.8.1-notes.xml
@@ -558,6 +558,24 @@
                     in their respective modules.
                </para>
            </listitem>
+            <listitem>
+                <para>
+                     Rewrote portions of <literal>Text.Printf</literal>, and
+                     made changes to <literal>Numeric</literal> (added
+                     <literal>Numeric.showFFloatAlt</literal> and
+                     <literal>Numeric.showGFloatAlt</literal>) and
+                     <literal>GHC.Float</literal> (added
+                     <literal>formatRealFloatAlt</literal>) to support it.
+                     Rewritten version is extensible to user types, adds a
+                     "generic" format specifier "<literal>%v</literal>",
+                     extends the <literal>printf</literal> spec
+                     to support much of C <literal>printf(3)</literal>
+                     functionality, and fixes the spurious GHC warnings about
+                     using <literal>Text.Printf.printf</literal> at
+                     <literal>(IO a)</literal> and ignoring the return value.
+                     This changes was contributed by Bart Massey.
+               </para>
+           </listitem>
        </itemizedlist>
     </sect3>
 




More information about the ghc-commits mailing list