Debian Codegraph @

%3a125/hashtables.sls

raw
1 (library (srfi :125 hashtables)
2 (export
3 make-hash-table hash-table hash-table-unfold alist->hash-table
4
5 hash-table? hash-table-contains? hash-table-empty? hash-table=?
6 hash-table-mutable?
7
8 hash-table-ref hash-table-ref/default
9
10 hash-table-set! hash-table-delete! hash-table-intern! hash-table-update!
11 hash-table-update!/default hash-table-pop! hash-table-clear!
12
13 hash-table-size hash-table-keys hash-table-values hash-table-entries
14 hash-table-find hash-table-count
15
16 hash-table-map hash-table-for-each hash-table-map! hash-table-map->list
17 hash-table-fold hash-table-prune!
18
19 hash-table-copy hash-table-empty-copy hash-table->alist
20
21 hash-table-union! hash-table-intersection! hash-table-difference!
22 hash-table-xor!
23
24 ;; The following procedures are deprecated by SRFI 125:
25
26 deprecated:hash
27 deprecated:string-hash
28 deprecated:string-ci-hash
29 deprecated:hash-by-identity
30 deprecated:hash-table-equivalence-function
31 deprecated:hash-table-hash-function
32 deprecated:hash-table-exists?
33 deprecated:hash-table-walk
34 deprecated:hash-table-merge!)
35
36 (import (except (rnrs)
37 make-hashtable hashtable-clear! hashtable-copy
38 hashtable-ref hashtable-update! make-eq-hashtable
39 make-eqv-hashtable)
40 (srfi private include)
41 (rename (srfi :126)
42 (hashtable? hash-table?)
43 (hashtable-contains? hash-table-contains?)
44 (hashtable-empty? hash-table-empty?)
45 (hashtable-intern! hash-table-intern!)
46 (hashtable-clear! hash-table-clear!)
47 (hashtable-copy hash-table-copy)
48 (hashtable-size hash-table-size)
49 (hashtable-pop! hash-table-pop!)
50 (hashtable-merge! hash-table-merge!)
51 (hashtable-hash-function hash-table-hash-function)
52 (hashtable-equivalence-function hash-table-equivalence-function))
53 (except (srfi :128) hash-salt string-hash string-ci-hash symbol-hash))
54
55 (include/resolve ("srfi" "%3a125") "125.body.scm"))
56