Skip to content

Commit

Permalink
Make the example gzip prog use the max compression ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoutts committed Dec 29, 2011
1 parent dde5c74 commit 16a22ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/gzip.hs
Expand Up @@ -3,4 +3,6 @@ module Main where
import qualified Data.ByteString.Lazy as B
import qualified Codec.Compression.GZip as GZip

main = B.interact GZip.compress
main = B.interact $ GZip.compressWith GZip.defaultCompressParams {
GZip.compressLevel = GZip.BestCompression
}

0 comments on commit 16a22ad

Please sign in to comment.