aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2025-02-16 22:02:46 -0500
committerGravatar Peter McGoron 2025-02-16 22:02:46 -0500
commit52f196f3c073d9e21ef39dae781eee910d30402c (patch)
treef5d991f31249ce3a5227be0b234b0f82052a9157 /doc
parentCHICKEN bug? Definition of `%insert` in the test for `internal` was (diff)
add set-contains? test, remove NaNs because they cannot be used in the default comparator
Diffstat (limited to 'doc')
-rw-r--r--doc/mcgoron.weight-balanced-trees.internal.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/mcgoron.weight-balanced-trees.internal.scm b/doc/mcgoron.weight-balanced-trees.internal.scm
index 07eacc1..13b2925 100644
--- a/doc/mcgoron.weight-balanced-trees.internal.scm
+++ b/doc/mcgoron.weight-balanced-trees.internal.scm
@@ -64,8 +64,8 @@ all values to the right of `key`.
If a value that compares equal to `key` is found, that value is returned.
Otherwise the result of calling `default` with no arguments is returned.")
((name . "search")
- (signature case-lambda ((((comparator? cmp) (balanced? tree) key) *)
- (((comparator? cmp) (balanced? tree) key (procedure? default)) *)))
+ (signature case-lambda ((((comparator? cmp) key (balanced? tree)) *)
+ (((comparator? cmp) key (balanced? tree) (procedure? default)) *)))
(subsigs (default (lambda () *)))
(desc "
* It is an error if `cmp` does not order `key` and all elements in `tree`.