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.


Versions 1.0.0, 1.0.1
Dependencies base (>=3 && <5), containers, fingertree [details]
License BSD3
Copyright 2010, Maxime Henrion
Author Maxime Henrion
Maintainer Maxime Henrion <>
Category Data, Compression
Bug tracker
Source repository head: hg clone
Uploaded Tue Feb 28 20:58:44 UTC 2012 by MaximeHenrion
Distributions NixOS:1.0.1
Downloads 686 total (14 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees