[project @ 2005-07-25 11:11:36 by simonpj]
authorsimonpj <unknown>
Mon, 25 Jul 2005 11:11:36 +0000 (11:11 +0000)
committersimonpj <unknown>
Mon, 25 Jul 2005 11:11:36 +0000 (11:11 +0000)
Wibble to TH docs; MERGE to STABLE

ghc/docs/users_guide/glasgow_exts.xml

index 4da043b..9e712f8 100644 (file)
@@ -3649,9 +3649,11 @@ Tim Sheard is going to expand it.)
                  </para>
              <para> A splice can occur in place of 
                  <itemizedlist>
-                   <listitem><para> an expression; the spliced expression must have type <literal>Expr</literal></para></listitem>
+                   <listitem><para> an expression; the spliced expression must
+                   have type <literal>Q Exp</literal></para></listitem>
                    <listitem><para> a list of top-level declarations; ; the spliced expression must have type <literal>Q [Dec]</literal></para></listitem>
-                   <listitem><para> [Planned, but not implemented yet.] a type; the spliced expression must have type <literal>Type</literal>.</para></listitem>
+                   <listitem><para> [Planned, but not implemented yet.] a
+                   type; the spliced expression must have type <literal>Q Typ</literal>.</para></listitem>
                    </itemizedlist>
           (Note that the syntax for a declaration splice uses "<literal>$</literal>" not "<literal>splice</literal>" as in
        the paper. Also the type of the enclosed expression must be  <literal>Q [Dec]</literal>, not  <literal>[Q Dec]</literal>