summaryrefslogtreecommitdiffstats
path: root/srfi/srfi-146-hash-impl.scm
diff options
context:
space:
mode:
authorGravatar Arvydas Silanskas 2021-08-19 00:51:49 +0300
committerGravatar Arvydas Silanskas 2021-08-19 00:51:49 +0300
commitfc1b8c9e34f7b6094dfec60237735b588a82e6e6 (patch)
tree2c00d2f8cea0532a005a659af6c7bdad25dfc4fa /srfi/srfi-146-hash-impl.scm
parentsrfi 126 impl (diff)
mapping implementation
Diffstat (limited to 'srfi/srfi-146-hash-impl.scm')
-rw-r--r--srfi/srfi-146-hash-impl.scm49
1 files changed, 49 insertions, 0 deletions
diff --git a/srfi/srfi-146-hash-impl.scm b/srfi/srfi-146-hash-impl.scm
new file mode 100644
index 0000000..8f064dd
--- /dev/null
+++ b/srfi/srfi-146-hash-impl.scm
@@ -0,0 +1,49 @@
+(define hash-mapping-dtd
+ (let ()
+
+ (define (prep-dtd-arg proc)
+ (lambda (dtd . args)
+ (apply proc args)))
+
+ (make-dtd
+ make-dictionary-index (prep-dtd-arg hashmap)
+ dictionary?-index (prep-dtd-arg hashmap?)
+ dict-empty?-index (prep-dtd-arg hashmap-empty?)
+ dict-contains?-index (prep-dtd-arg hashmap-contains?)
+ dict-ref-index (prep-dtd-arg hashmap-ref)
+ dict-ref/default-index (prep-dtd-arg hashmap-ref/default)
+ dict-set-index (prep-dtd-arg hashmap-set)
+ dict-set!-index (prep-dtd-arg hashmap-set!)
+ dict-adjoin-index (prep-dtd-arg hashmap-adjoin)
+ dict-adjoin!-index (prep-dtd-arg hashmap-adjoin!)
+ dict-delete-index (prep-dtd-arg hashmap-delete)
+ dict-delete!-index (prep-dtd-arg hashmap-delete!)
+ dict-delete-all-index (prep-dtd-arg hashmap-delete-all)
+ dict-delete-all!-index (prep-dtd-arg hashmap-delete-all!)
+ dict-replace-index (prep-dtd-arg hashmap-replace)
+ dict-replace!-index (prep-dtd-arg hashmap-replace!)
+ dict-intern-index (prep-dtd-arg hashmap-intern)
+ dict-intern!-index (prep-dtd-arg hashmap-intern!)
+ dict-update-index (prep-dtd-arg hashmap-update)
+ dict-update!-index (prep-dtd-arg hashmap-update!)
+ dict-update/default-index (prep-dtd-arg hashmap-update/default)
+ dict-update/default!-index (prep-dtd-arg hashmap-update!/default)
+ dict-pop-index (prep-dtd-arg hashmap-pop)
+ dict-pop!-index (prep-dtd-arg hashmap-pop!)
+ dict-filter-index (prep-dtd-arg hashmap-filter)
+ dict-filter!-index (prep-dtd-arg hashmap-filter!)
+ dict-remove-index (prep-dtd-arg hashmap-remove)
+ dict-remove!-index (prep-dtd-arg hashmap-remove!)
+ dict-search-index (prep-dtd-arg hashmap-search)
+ dict-search!-index (prep-dtd-arg hashmap-search!)
+ dict-copy-index (prep-dtd-arg hashmap-copy)
+ dict-size-index (prep-dtd-arg hashmap-size)
+ dict-for-each-index (prep-dtd-arg hashmap-for-each)
+ dict-count-index (prep-dtd-arg hashmap-count)
+ dict-keys-index (prep-dtd-arg hashmap-keys)
+ dict-values-index (prep-dtd-arg hashmap-values)
+ dict-entries-index (prep-dtd-arg hashmap-entries)
+ dict-fold-index (prep-dtd-arg hashmap-fold)
+ dict-map->list-index (prep-dtd-arg hashmap-map->list)
+ dict->alist-index (prep-dtd-arg hashmap->alist)
+ dict-comparator-index (prep-dtd-arg hashmap-key-comparator))))
elog.Gravatar bencollins 1-0/+8 2003-07-13File doesn't really seem needed. The NEWS file gives a good overview, andGravatar bencollins 1-4/+0 2003-07-13Fix compiler warnings.Gravatar bencollins 4-12/+22 2003-07-13Updates from 0.10.0 release.Gravatar bencollins 4-5/+14 2003-04-23add libtoolize to bootstrapGravatar ddennedy 1-1/+10 2003-04-21added Dan Maas' rawiso docsGravatar ddennedy 1-32/+295 2003-04-07new_handle_on_port() error path fix from Jim RadfordGravatar dmaas 1-1/+3 2003-03-26add raw1394_new_handle_on_port() convenience functionGravatar dmaas 2-1/+41 2003-02-22Updates for new rawiso ioctl interface.Gravatar bencollins 3-37/+125 2003-01-15add iso_xmit_sync() and iso_xmit_write(); clean up iso handling a bitGravatar dmaas 5-39/+161 2003-01-15implement tag matching for rawiso receptionGravatar dmaas 3-4/+12 2003-01-06back out previous commit - don't drop the legacy API just yetGravatar dmaas 6-173/+130 2003-01-05emulate legacy ISO reception API on top of new rawiso APIGravatar dmaas 7-131/+174 2002-12-24update iso API for multi-channel reception and new packet buffer layoutGravatar dmaas 4-123/+236 2002-12-20oops, irq_interval needs to be signedGravatar anonymous 1-1/+1 2002-12-20dmaas - renamed exported arm definitions into the raw1394_ namespace; brought...Gravatar anonymous 3-124/+48 2002-12-16rawiso updates:Gravatar dmaas 3-18/+25 2002-11-18fix cplusplus extern C blockGravatar ddennedy 1-4/+4 2002-11-18merged rawiso branchGravatar ddennedy 7-6/+488