diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-06-28 21:26:33 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-06-28 21:26:33 -0700 |
commit | 1c583965749a40cdbe15846c2487f32a426dcbeb (patch) | |
tree | 394bd3a195c221e3c885d474b036b52ebc4ac0e3 /stdlib/doc-syms.tl | |
parent | 8ee92a458a4b854b4a7e726975c1197be877c500 (diff) | |
download | txr-1c583965749a40cdbe15846c2487f32a426dcbeb.tar.gz txr-1c583965749a40cdbe15846c2487f32a426dcbeb.tar.bz2 txr-1c583965749a40cdbe15846c2487f32a426dcbeb.zip |
New cached sorting functions.
These functions are useful when sorting a sequence
using an expensive keyfun.
* autoload.c (csort_set_entries, csort_instantiate):
New static functions.
(autlod_init): Register autoloading of csort module
via new functions.
* stdlib/csort.tl: New file.
* tests/012/sort.tl: csort functions included in tests.
* txr.1: Documented.
* stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'stdlib/doc-syms.tl')
-rw-r--r-- | stdlib/doc-syms.tl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stdlib/doc-syms.tl b/stdlib/doc-syms.tl index 4d4ee04d..47930ce8 100644 --- a/stdlib/doc-syms.tl +++ b/stdlib/doc-syms.tl @@ -350,6 +350,7 @@ ("closure" "N-0216EF16") ("cmp-str" "N-0143A273") ("cmspar" "N-01B1B5DF") + ("cnsort" "N-02102493") ("coded-length" "N-0167F423") ("coll" "D-0058") ("collect" "D-000E") @@ -447,6 +448,9 @@ ("cs7" "N-01B1B5DF") ("cs8" "N-01B1B5DF") ("csize" "N-01B1B5DF") + ("csnsort" "N-02102493") + ("csort" "N-02102493") + ("cssort" "N-02102493") ("cstopb" "N-01B1B5DF") ("cum-norm-dist" "N-03AB449B") ("cxr" "N-01DA4F04") |