summaryrefslogtreecommitdiffstats
path: root/srfi/srfi-146-hash-impl.scm
diff options
context:
space:
mode:
authorGravatar John Cowan 2021-11-23 14:21:56 -0500
committerGravatar John Cowan 2021-11-23 14:21:56 -0500
commita6fbdb2cfe97b41c4479170d80934f218a1553a8 (patch)
treeb538484cf28d6b09b0cf021529302fc6b4273697 /srfi/srfi-146-hash-impl.scm
parentimproved rationale (diff)
dto and find-update
Diffstat (limited to 'srfi/srfi-146-hash-impl.scm')
-rw-r--r--srfi/srfi-146-hash-impl.scm64
1 files changed, 32 insertions, 32 deletions
diff --git a/srfi/srfi-146-hash-impl.scm b/srfi/srfi-146-hash-impl.scm
index fb8497e..822fe7f 100644
--- a/srfi/srfi-146-hash-impl.scm
+++ b/srfi/srfi-146-hash-impl.scm
@@ -1,11 +1,11 @@
-(define hash-mapping-dtd
+(define hash-mapping-dto
(let ()
- (define (prep-dtd-arg proc)
- (lambda (dtd . args)
+ (define (prep-dto-arg proc)
+ (lambda (dto . args)
(apply proc args)))
- (define (hashmap-alter* dtd dict key failure success)
+ (define (hashmap-find-update* dto dict key failure success)
(call/cc
;; escape from whole hashmap-search entirely, when success / failure
;; return something other than through passed in continuation procedures
@@ -36,32 +36,32 @@
(k result))))))
new-dict)))
- (make-dtd
- dictionary?-id (prep-dtd-arg hashmap?)
+ (make-dto
+ dictionary?-id (prep-dto-arg hashmap?)
dict-mutable?-id (lambda _ #f)
- dict-empty?-id (prep-dtd-arg hashmap-empty?)
- dict-contains?-id (prep-dtd-arg hashmap-contains?)
- dict-ref-id (prep-dtd-arg hashmap-ref)
- dict-ref/default-id (prep-dtd-arg hashmap-ref/default)
- dict-set-id (prep-dtd-arg hashmap-set)
- dict-adjoin-id (prep-dtd-arg hashmap-adjoin)
- dict-delete-id (prep-dtd-arg hashmap-delete)
- dict-delete-all-id (prep-dtd-arg hashmap-delete-all)
- dict-replace-id (prep-dtd-arg hashmap-replace)
- dict-intern-id (prep-dtd-arg hashmap-intern)
- dict-update-id (prep-dtd-arg hashmap-update)
- dict-update/default-id (prep-dtd-arg hashmap-update/default)
- dict-pop-id (prep-dtd-arg hashmap-pop)
- dict-filter-id (prep-dtd-arg hashmap-filter)
- dict-remove-id (prep-dtd-arg hashmap-remove)
- dict-alter-id hashmap-alter*
- dict-size-id (prep-dtd-arg hashmap-size)
- dict-for-each-id (prep-dtd-arg hashmap-for-each)
- dict-count-id (prep-dtd-arg hashmap-count)
- dict-keys-id (prep-dtd-arg hashmap-keys)
- dict-values-id (prep-dtd-arg hashmap-values)
- dict-entries-id (prep-dtd-arg hashmap-entries)
- dict-fold-id (prep-dtd-arg hashmap-fold)
- dict-map->list-id (prep-dtd-arg hashmap-map->list)
- dict->alist-id (prep-dtd-arg hashmap->alist)
- dict-comparator-id (prep-dtd-arg hashmap-key-comparator))))
+ dict-empty?-id (prep-dto-arg hashmap-empty?)
+ dict-contains?-id (prep-dto-arg hashmap-contains?)
+ dict-ref-id (prep-dto-arg hashmap-ref)
+ dict-ref/default-id (prep-dto-arg hashmap-ref/default)
+ dict-set-id (prep-dto-arg hashmap-set)
+ dict-adjoin-id (prep-dto-arg hashmap-adjoin)
+ dict-delete-id (prep-dto-arg hashmap-delete)
+ dict-delete-all-id (prep-dto-arg hashmap-delete-all)
+ dict-replace-id (prep-dto-arg hashmap-replace)
+ dict-intern-id (prep-dto-arg hashmap-intern)
+ dict-update-id (prep-dto-arg hashmap-update)
+ dict-update/default-id (prep-dto-arg hashmap-update/default)
+ dict-pop-id (prep-dto-arg hashmap-pop)
+ dict-filter-id (prep-dto-arg hashmap-filter)
+ dict-remove-id (prep-dto-arg hashmap-remove)
+ dict-find-update-id hashmap-find-update*
+ dict-size-id (prep-dto-arg hashmap-size)
+ dict-for-each-id (prep-dto-arg hashmap-for-each)
+ dict-count-id (prep-dto-arg hashmap-count)
+ dict-keys-id (prep-dto-arg hashmap-keys)
+ dict-values-id (prep-dto-arg hashmap-values)
+ dict-entries-id (prep-dto-arg hashmap-entries)
+ dict-fold-id (prep-dto-arg hashmap-fold)
+ dict-map->list-id (prep-dto-arg hashmap-map->list)
+ dict->alist-id (prep-dto-arg hashmap->alist)
+ dict-comparator-id (prep-dto-arg hashmap-key-comparator))))
='2003-01-15 06:36:19 +0000'>2003-01-15implement tag matching for rawiso receptionGravatar dmaas 3-4/+12 git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@101 53a565d1-3bb7-0310-b661-cf11e63c67ab 2003-01-06back out previous commit - don't drop the legacy API just yetGravatar dmaas 6-173/+130 git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@100 53a565d1-3bb7-0310-b661-cf11e63c67ab 2003-01-05emulate legacy ISO reception API on top of new rawiso APIGravatar dmaas 7-131/+174 git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@99 53a565d1-3bb7-0310-b661-cf11e63c67ab 2002-12-24update iso API for multi-channel reception and new packet buffer layoutGravatar dmaas 4-123/+236 git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@98 53a565d1-3bb7-0310-b661-cf11e63c67ab 2002-12-20oops, irq_interval needs to be signedGravatar anonymous 1-1/+1 git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@97 53a565d1-3bb7-0310-b661-cf11e63c67ab 2002-12-20dmaas - renamed exported arm definitions into the raw1394_ namespace; ↵Gravatar anonymous 3-124/+48 brought kernel-raw1394.h back in sync with the kernel version git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@96 53a565d1-3bb7-0310-b661-cf11e63c67ab 2002-12-16rawiso updates:Gravatar dmaas 3-18/+25 - changed return type of rawiso xmit/recv handlers from int to enum raw1394_iso_disposition - added an ioctl (RAW1394_ISO_QUEUE_ACTIVITY) to force an ISO_ACTIVITY event into the queue. This is needed for handling RAW1394_ISO_DEFER, to kick us out of the next read() instead of sleeping forever. - removed references to "8-byte" isochronous header - this is an OHCI-specific implementation detail git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@95 53a565d1-3bb7-0310-b661-cf11e63c67ab 2002-11-18fix cplusplus extern C blockGravatar ddennedy 1-4/+4 git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@94 53a565d1-3bb7-0310-b661-cf11e63c67ab 2002-11-18merged rawiso branchGravatar ddennedy 7-6/+488 git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@93 53a565d1-3bb7-0310-b661-cf11e63c67ab