summaryrefslogtreecommitdiff
path: root/huffman-encode.lisp
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2022-07-14 11:27:06 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2022-07-14 11:27:06 +0900
commit30a3b3d25f8d3180379b48803f03a3fadd51405f (patch)
treefa07bec3a2d75e0f5ec12c90bc84f2a7a9f4765a /huffman-encode.lisp
parent68b68a6ed58f3205e9c4f9145bfdeb09b3aa3dce (diff)
huffman-encode: Remove huffman-leafp function.
Diffstat (limited to 'huffman-encode.lisp')
-rw-r--r--huffman-encode.lisp5
1 files changed, 0 insertions, 5 deletions
diff --git a/huffman-encode.lisp b/huffman-encode.lisp
index bd5d4d4..ff9fc20 100644
--- a/huffman-encode.lisp
+++ b/huffman-encode.lisp
@@ -35,11 +35,6 @@
(declare (xargs :guard (rationalp w)))
(list 'leaf s w))
-(defun huffman-leafp (x)
- (declare (xargs :guard t))
- (and (huffman-treep x)
- (not (nodep x))))
-
(defun leaf-symbol (x)
(declare (xargs :guard (and (huffman-treep x)
(not (nodep x)))))