summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorPaul A. Patience <paul@apatience.com>2022-02-08 09:26:45 +0000
committerKaz Kylheku <kaz@kylheku.com>2022-02-15 07:24:21 -0800
commitaeb76cfe860f14982fc97de262c343b94e11156a (patch)
tree792628ddabc222bf0d0c2eeb19fd5ef8f8a9e160 /txr.1
parentc56068d27a39660e86c364f34f3f9bceb52ad1a9 (diff)
downloadtxr-aeb76cfe860f14982fc97de262c343b94e11156a.tar.gz
txr-aeb76cfe860f14982fc97de262c343b94e11156a.tar.bz2
txr-aeb76cfe860f14982fc97de262c343b94e11156a.zip
doc: fix name of unique's equality function.
* txr.1: The unique function defaults to using an :equal-based hash table, in which case it considers elements to be equal under the equal function, rather than the eql function. Correct this typo, and also adjust the spacing of the .mets line.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.14
1 files changed, 2 insertions, 2 deletions
diff --git a/txr.1 b/txr.1
index e1324c0e..cd796423 100644
--- a/txr.1
+++ b/txr.1
@@ -36919,7 +36919,7 @@ That is to say, this equivalence holds:
.coNP Function @ unique
.synb
-.mets (unique < sequence >> [ keyfun <> { hash-arg }* ])
+.mets (unique < sequence >> [ keyfun <> { hash-arg }*])
.syne
.desc
The
@@ -36935,7 +36935,7 @@ If neither
nor
.metn hash-arg s
are specified, then elements of sequence are considered equal under the
-.code eql
+.code equal
function. The first occurrence of each element is retained,
and the subsequent duplicates of that element, of any, are suppressed,
such that the order of the elements is otherwise preserved.