Add preliminary bdict reimplementation.
This commit is contained in:
parent
6d7639e56d
commit
3a3af066af
3 changed files with 50 additions and 3 deletions
|
|
@ -30,7 +30,7 @@
|
|||
bst-filter-pairs
|
||||
|
||||
bst-map-list
|
||||
bst-map-dict
|
||||
bst-map-bst
|
||||
|
||||
list->bst
|
||||
|
||||
|
|
@ -327,7 +327,7 @@
|
|||
(proc (car kv) (cdr kv))))))
|
||||
(reverse res)))
|
||||
|
||||
(define/doc (bst-map-dict bst proc)
|
||||
(define/doc (bst-map-bst bst proc)
|
||||
("Returns a new dictionary with all values processed (keys are left intact).")
|
||||
(set-bst-root bst
|
||||
(let loop ((n (bst-root bst)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue