-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlolh-utils-package.lisp
66 lines (60 loc) · 1.17 KB
/
lolh-utils-package.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
;;; lolh-utils-packages.lisp - Packages used by lolh-utils
;;; Time-stamp: <2023-03-26 03:17:39 wlh>
;;; Author: LOLH <[email protected]>
;;; Created: 2023-01-16
;;; Version 0.1.6
;;; Commentary:
;;; Code:
(defpackage :lolh.utils
(:use :cl)
(:export
;; BS-TREE
:*cl-bst*
:*cl-bst-eqs*
:*cl-bst-lt*
:*cl-bst-gt*
:*cl-bst-eq*
:make-bst-node
:empty-bst-node
:bst-node-left
:bst-node-data
:bst-node-right
:cl-bst-set-cmp-funcs
:bst-insert!-node
:bst-delete!node
:bst-delete-node
:bst-inorder-traversal
:bst-preorder-traversal
:bst-postorder-traversal
:bst-find-node
:bst-min
:bst-max
:bst-size
:bst-height
;; RB-TREE
:rb-elem
:value
:color
:tree
:make-rb-elem
:make-rb-color
:make-rb-tree
:make-rb
:rb-elem-value
:rb-color-value
:rb-tree-elem-value
:rb-tree-elem
:rb-tree-left
:rb-tree-right
:rb-tree-color
:rb-tree-values
:rb-insert
:+rb-red+
:+rb-black+
:+rb-empty-tree+
:rb-black-p
:rb-red-p
;; LOLH-FILESZ
:filesz-load-and-dedup
))
;;; End lolh-utils-packages.lisp