diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-06-07 07:04:17 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-06-07 07:04:17 -0700 |
commit | 1b1e8f1da2d99a6c49c3949857c8bee8ef354d18 (patch) | |
tree | ef3be11d27c97bb7df6c3b170fffcfa3f90449f0 /lib.h | |
parent | 4508e338c224bae1b6c5c4492c1f26f8720467cc (diff) | |
download | txr-1b1e8f1da2d99a6c49c3949857c8bee8ef354d18.tar.gz txr-1b1e8f1da2d99a6c49c3949857c8bee8ef354d18.tar.bz2 txr-1b1e8f1da2d99a6c49c3949857c8bee8ef354d18.zip |
New functions keep-keys-if, separate-keys.
* lib.[ch] (keep_keys_if, separate_keys): New functions.
* eval.c (eval_init): keep-keys-if, separate-keys intrinsics
registered.
* txr.1: Documented.
* stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -847,7 +847,9 @@ val keepq(val obj, val seq, val keyfun); val keepql(val obj, val seq, val keyfun); val keepqual(val obj, val seq, val keyfun); val keep_if(val pred, val seq, val keyfun); +val keep_keys_if(val pred, val seq_in, val keyfun_in); val separate(val pred, val seq, val keyfun); +val separate_keys(val pred, val seq_in, val keyfun_in); val remq_lazy(val obj, val list); val remql_lazy(val obj, val list); val remqual_lazy(val obj, val list); |