summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.118
1 files changed, 18 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 47ac3388..666d238c 100644
--- a/txr.1
+++ b/txr.1
@@ -11769,6 +11769,24 @@ the equal function instead.
In addition to storing key-value pairs, a hash table can have a piece of
information associated with it, called the user data.
+.SS Function hash-construct
+
+.TP
+Syntax:
+
+ (hash-construct <hash-args> <key-val-pairs>)
+
+.TP
+Description:
+
+The hash-construct function constructs a populated hash in one step. The <hash-args>
+argument specifies a list suitable as an argument list in a call to the hash function.
+The <key-val-pairs> is a sequence of pairs, which are two-element lists representing
+key-value pairs.
+
+A hash is constructed as if by a call to [apply hash <hash-args>], then populated
+with the specified pairs, and returned.
+
.SS Function hash-update
.TP