summaryrefslogtreecommitdiffstats
path: root/srfi/225/srfi-125-impl.sld
diff options
context:
space:
mode:
authorGravatar John Cowan 2022-08-06 11:22:05 -0400
committerGravatar GitHub 2022-08-06 11:22:05 -0400
commite89c664dcabb50a28975f451252106a461be3d3f (patch)
tree8da6ad7744c6b26cbcf3acdd7d08e83c33c5e014 /srfi/225/srfi-125-impl.sld
parentMerge branch 'master' of https://github.com/johnwcowan/srfi-225 (diff)
parentreturn alists; refactor structure (diff)
Merge pull request #5 from arvyy/master
return alists; refactor structure
Diffstat (limited to '')
-rw-r--r--srfi/225/srfi-125-impl.sld (renamed from srfi/srfi-125-impl.scm)65
1 files changed, 35 insertions, 30 deletions
diff --git a/srfi/srfi-125-impl.scm b/srfi/225/srfi-125-impl.sld
index b3affe4..a987787 100644
--- a/srfi/srfi-125-impl.scm
+++ b/srfi/225/srfi-125-impl.sld
@@ -1,5 +1,12 @@
-(define hash-table-dto
- (let ()
+(define-library
+ (srfi 225 srfi-125-impl)
+ (import (scheme base)
+ (srfi 128)
+ (prefix (srfi 125) t125-)
+ (srfi 225 default-impl)
+ (srfi 225 indexes))
+ (export hash-table-dto)
+ (begin
(define (t125-hash-table-pure?* dto table)
#f)
@@ -78,9 +85,6 @@
#f
(t125-hash-table-hash-function table)))
- (define (t125-hash-table-copy* dto table)
- (t125-hash-table-copy table #t))
-
(define (t125-hash-table-size* dto table)
(t125-hash-table-size table))
@@ -117,28 +121,29 @@
(define (t125-hash-table-ref/default* dto table key default)
(t125-hash-table-ref/default table key default))
- (make-dto
- dictionary?-id t125-hash-table?*
- dict-pure?-id t125-hash-table-pure?*
- dict-empty?-id t125-hash-table-empty?*
- dict-contains?-id t125-hash-table-contains?*
- dict-ref-id t125-hash-table-ref*
- dict-ref/default-id t125-hash-table-ref/default*
- dict-set-id t125-hash-table-set*
- dict-delete-all-id t125-hash-table-delete-all*
- dict-intern-id t125-hash-table-intern*
- dict-update-id t125-hash-table-update*
- dict-update/default-id t125-hash-table-update/default*
- dict-pop-id t125-hash-table-pop*
- dict-map-id t125-hash-table-map*
- dict-filter-id t125-hash-table-filter*
- dict-remove-id t125-hash-table-remove*
- dict-find-update-id t125-hash-table-find-update*
- dict-size-id t125-hash-table-size*
- dict-keys-id t125-hash-table-keys*
- dict-values-id t125-hash-table-values*
- dict-entries-id t125-hash-table-entries*
- dict-fold-id t125-hash-table-fold*
- dict-map->list-id t125-hash-table-map->list*
- dict->alist-id t125-hash-table->alist*
- dict-comparator-id t125-hash-table-comparator*)))
+ (define hash-table-dto
+ (make-dto
+ dictionary?-id t125-hash-table?*
+ dict-pure?-id t125-hash-table-pure?*
+ dict-empty?-id t125-hash-table-empty?*
+ dict-contains?-id t125-hash-table-contains?*
+ dict-ref-id t125-hash-table-ref*
+ dict-ref/default-id t125-hash-table-ref/default*
+ dict-set-id t125-hash-table-set*
+ dict-delete-all-id t125-hash-table-delete-all*
+ dict-intern-id t125-hash-table-intern*
+ dict-update-id t125-hash-table-update*
+ dict-update/default-id t125-hash-table-update/default*
+ dict-pop-id t125-hash-table-pop*
+ dict-map-id t125-hash-table-map*
+ dict-filter-id t125-hash-table-filter*
+ dict-remove-id t125-hash-table-remove*
+ dict-find-update-id t125-hash-table-find-update*
+ dict-size-id t125-hash-table-size*
+ dict-keys-id t125-hash-table-keys*
+ dict-values-id t125-hash-table-values*
+ dict-entries-id t125-hash-table-entries*
+ dict-fold-id t125-hash-table-fold*
+ dict-map->list-id t125-hash-table-map->list*
+ dict->alist-id t125-hash-table->alist*
+ dict-comparator-id t125-hash-table-comparator*))))
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