Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/5f77b315a8f66fd9842f9120a9def4f85209efae

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

commit 5f77b315a8f66fd9842f9120a9def4f85209efae
Author: Simon Peyton Jones <simo...@microsoft.com>
Date:   Wed Jan 2 15:43:34 2013 +0000

    Update strictness documentation (Trac #7546)

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

 docs/users_guide/sooner.xml |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/docs/users_guide/sooner.xml b/docs/users_guide/sooner.xml
index c6445b9..ad798ac 100644
--- a/docs/users_guide/sooner.xml
+++ b/docs/users_guide/sooner.xml
@@ -292,14 +292,11 @@ f (Wibble x y)  # ugly, and proud of it
 
          <para>Look for your function in the interface file, then for
           the third field in the pragma; it should say
-          <literal>&lowbar;&lowbar;S &lt;string&gt;</literal>.  The
+          <literal>Strictness: &lt;string&gt;</literal>.  The
           <literal>&lt;string&gt;</literal> gives the strictness of
-          the function's arguments.  <function>L</function> is lazy
-          (bad), <function>S</function> and <function>E</function> are
-          strict (good), <function>P</function> is
-          &ldquo;primitive&rdquo; (good), <function>U(...)</function>
-          is strict and &ldquo;unpackable&rdquo; (very good), and
-          <function>A</function> is absent (very good).</para>
+          the function's arguments: see <ulink 
url="http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/Demand";>
+          the GHC Commentary</ulink> for a description of the stricntess 
notation.
+          </para>
 
          <para>For an &ldquo;unpackable&rdquo;
           <function>U(...)</function> argument, the info inside tells



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to