Skip to content

Commit c9c5518

Browse files
ablearthyBodigrim
authored andcommitted
Fix documentation: Use Codec.Compression.GZip instead of Zlib in the example
1 parent ca184c2 commit c9c5518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Codec/Archive/Tar.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module Codec.Archive.Tar (
7171
-- on the 'extract' function where we use decompression in the pipeline:
7272
--
7373
-- > import qualified Data.ByteString.Lazy as BL
74-
-- > import qualified Codec.Compression.Zlib as GZip
74+
-- > import qualified Codec.Compression.GZip as GZip
7575
-- >
7676
-- > Tar.unpack dir . Tar.read . GZip.decompress =<< BL.readFile tar
7777
--

0 commit comments

Comments
 (0)