summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-10-16 15:07:46 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-10-16 15:07:46 -0700
commit525069783ed693ae74919c10521fcb536e80e53a (patch)
tree4f04b3f78ab7d79a2f9514703cb712b7c0f32f9c
parente35dadd463a6de59f361c0be665d25ab5cf166b3 (diff)
downloadtxr-525069783ed693ae74919c10521fcb536e80e53a.tar.gz
txr-525069783ed693ae74919c10521fcb536e80e53a.tar.bz2
txr-525069783ed693ae74919c10521fcb536e80e53a.zip
doc: #H() can't be written #H nil.
* txr.1: Document that #H() requires the parentheses.
-rw-r--r--txr.19
1 files changed, 8 insertions, 1 deletions
diff --git a/txr.1 b/txr.1
index 8309ee13..3e16f2bf 100644
--- a/txr.1
+++ b/txr.1
@@ -11553,7 +11553,7 @@ expression.
The notation
.code #H
-followed by a nested list syntax denotes a hash table literal.
+followed by list syntax denotes a hash table literal.
The first item in the syntax is a list of keywords. These are the same
keywords as are used when calling the function hash to construct
a hash table. Allowed keywords are:
@@ -11588,6 +11588,13 @@ hash table based on the
.code eql
function, with no weak semantics or user data.
+The entire syntax following
+.code #H
+may be an empty list; however, that empty list may not
+be specified as
+.codn nil ;
+the empty parentheses notation is required.
+
The hash table key-value contents are specified as zero or more
two-element lists, whose first element specifies the
.meta key