summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krz.gogolewski@gmail.com>2013-11-29 22:41:31 +0100
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>2013-11-29 22:44:42 +0100
commit2e3c6a53330de8ed9e1dcbc8ab43c9405a3a89be (patch)
tree9527dc8ab1861eceb4505e82c057026cd6cafc48 /docs
parentceb600de2e1892ee642de2df3f5892febe19b2bb (diff)
downloadhaskell-2e3c6a53330de8ed9e1dcbc8ab43c9405a3a89be.tar.gz
Update "stolen syntax" section (#8575)
Thanks to aavogt
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/glasgow_exts.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index 1366197654..c982278aa5 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>