summaryrefslogtreecommitdiffstats
path: root/hash.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-10-28 07:02:50 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-10-28 07:02:50 -0700
commitdff12605926554d9aa76c4f80c8adc0ee82fa2bb (patch)
treef4264179e4ae080ab3ad9b9e56ef6e454a9770a6 /hash.h
parent374509f247df16d40d2535a34237fa2f5dd5863e (diff)
downloadtxr-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hash.h b/hash.h
index da30adab..869e6fbd 100644
--- a/hash.h
+++ b/hash.h
@@ -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);