[commit: ghc] master: Update "stolen syntax" section (#8575) (2e3c6a5)

git at git.haskell.org git at git.haskell.org
Fri Nov 29 21:47:39 UTC 2013


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

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

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

commit 2e3c6a53330de8ed9e1dcbc8ab43c9405a3a89be
Author: Krzysztof Gogolewski <krz.gogolewski at gmail.com>
Date:   Fri Nov 29 22:41:31 2013 +0100

    Update "stolen syntax" section (#8575)
    
    Thanks to aavogt


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

2e3c6a53330de8ed9e1dcbc8ab43c9405a3a89be
 docs/users_guide/glasgow_exts.xml |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index 1366197..c982278 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -2260,8 +2260,7 @@ The following syntax is stolen:
 
       <varlistentry>
 	<term>
-	  <literal>?<replaceable>varid</replaceable></literal>,
-	  <literal>%<replaceable>varid</replaceable></literal>
+	  <literal>?<replaceable>varid</replaceable></literal>
           <indexterm><primary>implicit parameters</primary></indexterm>
 	</term>
 	<listitem><para>
@@ -2275,6 +2274,8 @@ The following syntax is stolen:
 	  <literal>[e|</literal>, <literal>[p|</literal>,
 	  <literal>[d|</literal>, <literal>[t|</literal>,
 	  <literal>$(</literal>,
+	  <literal>[||</literal>,
+	  <literal>[e||</literal>,
 	  <literal>$<replaceable>varid</replaceable></literal>
           <indexterm><primary>Template Haskell</primary></indexterm>
 	</term>
@@ -2285,7 +2286,7 @@ The following syntax is stolen:
 
       <varlistentry>
 	<term>
-	  <literal>[:<replaceable>varid</replaceable>|</literal>
+	  <literal>[<replaceable>varid</replaceable>|</literal>
           <indexterm><primary>quasi-quotation</primary></indexterm>
 	</term>
 	<listitem><para>



More information about the ghc-commits mailing list