aboutsummaryrefslogtreecommitdiffstats
path: root/compat/micro-srfi-225/micro-srfi-225.sld
blob: 0b0834d692877fbf1654c6913a42917062f3dd1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
(define-library (micro-srfi-225)
  (import (scheme base) (scheme case-lambda))
  (export
   eqv-alist-dto
   ;; predicates
   dictionary?
   dict-empty?
   dict-contains?
   dict=?
   dict-pure?
   ;; lookup
   dict-ref
   dict-ref/default
   dict-comparator
   ;; mutation
   dict-set!
   dict-adjoin!
   dict-delete!
   dict-delete-all!
   dict-replace!
   dict-intern!
   dict-update!
   dict-update/default!
   dict-pop!
   dict-map
   dict-filter
   dict-remove
   dict-find-update!
   ;; whole dictionary
   dict-size
   dict-count
   dict-any
   dict-every
   dict-keys
   dict-values
   dict-entries
   dict-fold
   dict-map->list
   dict->alist
   ;; iteration
   dict-for-each
   dict->generator
   dict-set!-accumulator
   dict-adjoin!-accumulator
   ;; dictionary type descriptors
   dto?
   dto-ref
   ;; exceptions
   dictionary-error
   dictionary-error?
   dictionary-message
   dictionary-irritants)
  (begin
    (define-record-type <derror>
      (dictionary-error message irritants)
      dictionary-error?
      (message dictionary-message)
      (irritants dictionary-irritants)))
  (include "micro-srfi-225.scm"))