summaryrefslogtreecommitdiffstats
path: root/hash.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-03-19 22:41:26 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-03-19 22:41:26 -0700
commitc0e5857c181d39e7de1eeff71f60800a6b6861dc (patch)
treefd12de8a5fee7c858a85f49a341bc6358e76eb0e /hash.h
parent7c40d5d6ef6832baed4a5ccd0a5d4235ed4f5ee3 (diff)
downloadtxr-c0e5857c181d39e7de1eeff71f60800a6b6861dc.tar.gz
txr-c0e5857c181d39e7de1eeff71f60800a6b6861dc.tar.bz2
txr-c0e5857c181d39e7de1eeff71f60800a6b6861dc.zip
hash-uni: two new arguments for projecting values.
* hash.c (hash_uni): New functional argument map1fun and map2fun. If present, values from hash1 and hash2, respectively, are projected through these functions. (hash_init): hash-uni registration updated. * hash.h (hash_uni): Declaration updated. * txr.1: Documented new arguments.
Diffstat (limited to 'hash.h')
-rw-r--r--hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.h b/hash.h
index f6cbf068..e272ce45 100644
--- a/hash.h
+++ b/hash.h
@@ -80,7 +80,7 @@ val hash_keys(val hash);
val hash_values(val hash);
val hash_pairs(val hash);
val hash_alist(val hash);
-val hash_uni(val hash1, val hash2, val joinfun);
+val hash_uni(val hash1, val hash2, val joinfun, val lunitfun, val runitfun);
val hash_diff(val hash1, val hash2);
val hash_symdiff(val hash1, val hash2);
val hash_isec(val hash1, val hash2, val joinfun);