aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2025-02-15 19:08:42 -0500
committerGravatar Peter McGoron 2025-02-15 19:08:42 -0500
commita76207a6735f03e1ae5cb5746b38b6321a9c5788 (patch)
tree132b2a10b4ab1092357cd1f13b3197bca52c969a /doc
parentgenerator->node (diff)
node->in-order-generator
Diffstat (limited to 'doc')
-rw-r--r--doc/mcgoron.weight-balanced-trees.internal.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/mcgoron.weight-balanced-trees.internal.scm b/doc/mcgoron.weight-balanced-trees.internal.scm
index ac3b921..e3293c0 100644
--- a/doc/mcgoron.weight-balanced-trees.internal.scm
+++ b/doc/mcgoron.weight-balanced-trees.internal.scm
@@ -170,4 +170,10 @@ in arbitrary order."))
by `cmp`.
Returns a weight balanced tree whose elements are all of the elements
-of `generator`."))) \ No newline at end of file
+of `generator`."))
+ ((name . "node->in-order-generator")
+ (signature
+ lambda ((balanced? node)) generator?)
+ (desc "
+Returns a generator (see SRFI-158) that generates the elements of `node`
+in increasing order."))) \ No newline at end of file