From 005c2c1cf176bfb9f8e5a01625aeb2815ec440c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Pant=C5=AF=C4=8Dek?= Date: Fri, 7 Jul 2023 10:50:31 +0200 Subject: [PATCH] Finish integrating new BST implementation. --- doc/d-utils.md | 116 +++++++++++++++++++++++++++++++++++++++++++++++++ src/Makefile | 8 ++-- src/gendoc.scm | 1 + 3 files changed, 122 insertions(+), 3 deletions(-) diff --git a/doc/d-utils.md b/doc/d-utils.md index bf70f2b..0724989 100644 --- a/doc/d-utils.md +++ b/doc/d-utils.md @@ -437,3 +437,119 @@ sent to the address stored within. Sends email using mail(1) command. The arguments ```#:to``` and ```#:subject``` are mandatory. Argument ```#:from``` is optional. + +## util-bst [module] + + (import util-bst) + +Binary Search Tree implementation + +### make-bst [procedure] + + (make-bst subtag + EQ? + bst [procedure] + + (list->bst lst + subtag + EQ? +