diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-10-28 07:02:50 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-10-28 07:02:50 -0700 |
commit | dff12605926554d9aa76c4f80c8adc0ee82fa2bb (patch) | |
tree | f4264179e4ae080ab3ad9b9e56ef6e454a9770a6 /hash.h | |
parent | 374509f247df16d40d2535a34237fa2f5dd5863e (diff) | |
download | txr-dff12605926554d9aa76c4f80c8adc0ee82fa2bb.tar.gz txr-dff12605926554d9aa76c4f80c8adc0ee82fa2bb.tar.bz2 txr-dff12605926554d9aa76c4f80c8adc0ee82fa2bb.zip |
New function: hash-invert.
* hash.c (hash_invert): New function.
(hash_init): hash-invert intrinsic registered.
* hash.c (hash_invert): Declared.
* txr.1: Documented.
Diffstat (limited to 'hash.h')
-rw-r--r-- | hash.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -77,6 +77,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_invert(val hash, val joinfun, val unitfun, struct args *hashv_args); void hash_process_weak(void); |