summaryrefslogtreecommitdiffstats
path: root/srfi/225/core-exports.scm
diff options
context:
space:
mode:
authorGravatar Arvydas Silanskas 2022-08-06 11:35:06 +0300
committerGravatar Arvydas Silanskas 2022-08-06 11:35:06 +0300
commitfd4585b6e0ac67ae9591a4183fb7c82ed3a30218 (patch)
tree8da6ad7744c6b26cbcf3acdd7d08e83c33c5e014 /srfi/225/core-exports.scm
parentMerge branch 'master' of https://github.com/johnwcowan/srfi-225 (diff)
return alists; refactor structure
Diffstat (limited to 'srfi/225/core-exports.scm')
-rw-r--r--srfi/225/core-exports.scm55
1 files changed, 55 insertions, 0 deletions
diff --git a/srfi/225/core-exports.scm b/srfi/225/core-exports.scm
new file mode 100644
index 0000000..90e2992
--- /dev/null
+++ b/srfi/225/core-exports.scm
@@ -0,0 +1,55 @@
+(export
+ ;; 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)