diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-03-19 22:41:26 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-03-19 22:41:26 -0700 |
commit | c0e5857c181d39e7de1eeff71f60800a6b6861dc (patch) | |
tree | fd12de8a5fee7c858a85f49a341bc6358e76eb0e /hash.h | |
parent | 7c40d5d6ef6832baed4a5ccd0a5d4235ed4f5ee3 (diff) | |
download | txr-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |