diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-01-20 01:03:51 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-01-20 01:03:51 -0800 |
commit | 9a2f9df335393284f6af2d95dbd65cb606792ad8 (patch) | |
tree | 3b5879d84420fd384eb788c576658c3dd5a4ef71 /hash.h | |
parent | 54d0988406a70c7849a10d9ada1dbdff761adf8f (diff) | |
download | txr-9a2f9df335393284f6af2d95dbd65cb606792ad8.tar.gz txr-9a2f9df335393284f6af2d95dbd65cb606792ad8.tar.bz2 txr-9a2f9df335393284f6af2d95dbd65cb606792ad8.zip |
New function: hash-keys-of.
* hash.c (hash_keys_of): New function.
(hash_init): Register hash-keys-of intrinsic
* hash.h (hash_keys_of): Declared.
* txr.1: Documented.
Diffstat (limited to 'hash.h')
-rw-r--r-- | hash.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -89,6 +89,7 @@ val hash_proper_subset(val hash1, val hash2); val hash_update(val hash, val fun); val hash_update_1(val hash, val key, val fun, val init); val hash_revget(val hash, val value, val test, val keyfun); +val hash_keys_of(val hash, val value, val test, val keyfun); val hash_invert(val hash, val joinfun, val unitfun, struct args *hashv_args); void hash_process_weak(void); |