Start reimplementing missing ldict through bst.

This commit is contained in:
Dominik Pantůček 2023-07-07 11:26:53 +02:00
parent 33fadab5e7
commit f5e7dfe055
3 changed files with 22 additions and 0 deletions

View file

@ -562,6 +562,15 @@ Functional update with optional default value (defaults to #f).
Returns a BST with only KV pairs matching the predicate which must
accept two arguments.
### bst-reduce [procedure]
(bst-reduce bst
proc
init)
Like generic reduce, the proc gets accumulator, key and value
arguments.
## util-bst-bdict [module]
(import util-bst-bdict)