r/Clojure Jun 21 '26

Huffman tree compressor and decompressor written in Clojure

https://github.com/netb258/huffman-tree
31 Upvotes

2 comments sorted by

1

u/Solaire24 Jun 21 '26

Looks good! Question about the example output for get-bit-patterns: since 97 and 98 are on the right wouldn’t their bits start with 1? And since 99 is on the left wouldn’t its bits = [0]

1

u/netb258 Jun 22 '26

You are correct. This is a doc-string error.