The zlib package

[Tags:bsd3, library, test]

This package provides a pure interface for compressing and decompressing streams of data represented as lazy ByteStrings. It uses the zlib C library so it has high performance. It supports the "zlib", "gzip" and "raw" compression formats.

It provides a convenient high level API suitable for most tasks and for the few cases where more control is needed it provides access to the full zlib feature set.


Versions 0.2, 0.3, 0.4,,,,,,,,,,,,,,,,,,
Change log changelog
Dependencies base (==4.*), bytestring (>=0.9 && <0.12), ghc-prim [details]
License BSD3
Copyright (c) 2006-2016 Duncan Coutts
Author Duncan Coutts <>
Maintainer Duncan Coutts <>
Stability Unknown
Category Codec
Bug tracker
Source repository head: git clone
Uploaded Sun Oct 23 18:20:17 UTC 2016 by HerbertValerioRiedel
Distributions Arch:, Debian:, Fedora:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 164006 total (137 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




non-blocking-ffiThe (de)compression calls can sometimes take a long time, which prevents other Haskell threads running. Enabling this flag avoids this unfairness, but with greater overall cost.DisabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees