ghcup-hs/3rdparty/zlib/examples/gzip.hs
2020-05-10 13:12:39 +02:00

9 lines
264 B
Haskell

module Main where
import qualified Data.ByteString.Lazy as B
import qualified Codec.Compression.GZip as GZip
main = B.interact $ GZip.compressWith GZip.defaultCompressParams {
GZip.compressLevel = GZip.BestCompression
}