The huffman package

[Tags: bsd3, library]

A simple and pure Haskell implementation of the Huffman encoding algorithm.

The huffman function provides the original O(n log n) algorithm implemented with a priority queue. If the input symbols are sorted by probability, the O(n) huffmanSorted function can be used instead.


Versions1.0.0, 1.0.1
Dependenciesbase (>=3 && <5), containers, fingertree
Copyright2010, Maxime Henrion
AuthorMaxime Henrion
MaintainerMaxime Henrion <>
CategoryData, Compression
Bug tracker
Source repositoryhead: hg clone
Upload dateTue Feb 28 20:58:44 UTC 2012
Uploaded byMaximeHenrion
Downloads228 total (14 in last 30 days)




Maintainers' corner

For package maintainers and hackage trustees