summaryrefslogtreecommitdiffstats
path: root/stdlib
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-02-21 03:08:11 -0800
committerKaz Kylheku <kaz@kylheku.com>2022-02-21 03:08:11 -0800
commitaad381bc6ce5458ef2483238066ae7fe1577d508 (patch)
treece47953b39b6a1fadcbf45052cc79c83f55bdbf6 /stdlib
parentc914063fd0eb8c02d8362b86a61933c656a938bc (diff)
downloadtxr-aad381bc6ce5458ef2483238066ae7fe1577d508.tar.gz
txr-aad381bc6ce5458ef2483238066ae7fe1577d508.tar.bz2
txr-aad381bc6ce5458ef2483238066ae7fe1577d508.zip
New functions: find-max-key and find-min-key.
* eval.c (eval_init): Register find-max-key and find-min-key intrinsics. * lib.c (find_max_key, find_min_key): New functions. * lib.h (find_max_key, find_min_key): Declared. * txr.1: Documented. * stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/doc-syms.tl2
1 files changed, 2 insertions, 0 deletions
diff --git a/stdlib/doc-syms.tl b/stdlib/doc-syms.tl
index 8a472752..d2af2cc1 100644
--- a/stdlib/doc-syms.tl
+++ b/stdlib/doc-syms.tl
@@ -740,7 +740,9 @@
("find-frames" "N-02B97226")
("find-if" "N-00C9DFF6")
("find-max" "N-02BB4231")
+ ("find-max-key" "N-020038A0")
("find-min" "N-02BB4231")
+ ("find-min-key" "N-020038A0")
("find-package" "N-0250826D")
("find-struct-type" "N-01E5EEA7")
("find-symbol" "N-01EA8B50")