huffman: Pure Haskell implementation of the Huffman encoding algorithm

[ bsd2, bsd3, compression, data, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0.0, 1.0.1, 1.0.2
Dependencies base (>=3 && <5), containers, fingertree [details]
Tested with ghc ==6.12
License BSD-2-Clause
Copyright 2010, Maxime Henrion
Author Maxime Henrion
Maintainer Maxime Henrion <mhenrion@gmail.com>
Category Data, Compression
Bug tracker http://bitbucket.org/mux/huffman/issues/
Source repo head: hg clone http://bitbucket.org/mux/huffman/
Uploaded by MaximeHenrion at 2025-09-28T17:35:22Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2126 total (7 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2025-09-28 [all 1 reports]