Skip to content

Conversation

@Anteproperispomenon
Copy link
Contributor

Functionally, this just adds DecompressError(..) to the export list of Codec.Compression.BZip.Internal, but it also adds
a lot of documentation to the Internal module from the corresponding functions from zlib. I also added some documentation for the arguments of the foldCompressStream/etc... functions to improve clarity.

Also, I bumped the version number and updated the changelog, which I suspect I wasn't supposed to? This is my first time contributing upstream to a Haskell package, so I wasn't sure of the protocol.

It was missing from Codec.Compression.BZip.Internal.
Copied (and fixed) documentation from `zlib`, and also added some specific documentation to the fold functions.

Also bumped version number and added details to changelog.
Copy link
Contributor

@Bodigrim Bodigrim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Fixed documentation of function arguments to use `-- ^` instead of `-- |`, since it should work with more versions of Haddock. Also added some examples to the `fold` argument of foldCompressStream/foldDecompressStream.

Changed version number to be 0.5.3.0 instead of 0.5.2.1, since the change introduces a new export.
@Bodigrim Bodigrim merged commit 84ec2b7 into haskell:master Dec 2, 2025
21 checks passed
@Bodigrim
Copy link
Contributor

Bodigrim commented Dec 2, 2025

Thanks, awesome! Do you need a release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants