summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--txr.114
1 files changed, 9 insertions, 5 deletions
diff --git a/txr.1 b/txr.1
index fdc993e7..42158a50 100644
--- a/txr.1
+++ b/txr.1
@@ -56322,20 +56322,24 @@ its properties, such as weakness.
.coNP Function @ hash-map
.synb
-.mets (hash-map < fun < sequence << hash-arg *)
+.mets (hash-map < function < sequence << hash-arg *)
.syne
.desc
The
.code hash-map
-function constructs a function out of a
-.metn sequence .
+function constructs a a hash table from a
+.meta sequence
+of keys and a
+.meta function
+which maps them to values.
+
The
-.meta fun
+.meta function
argument must be a function that can be called with one argument.
The elements of
.meta sequence
-become the hash keys. The value associated with each key
+become the keys of the returned hash table. The value associated with each key
is determined by passing that value to function
.meta fun
and taking the returned value.