Skip to content

Conversation

@DigitalBrains1
Copy link
Member

It can be nice to be able to rely on pack never raising XException and it is good behavior. I have always expected this behavior, but it was not documented. Let's document it. I have checked all instances in clash-prelude and they all conform to the law. The same goes for deriving a BitPack or using deriveBitPack.

Still TODO:

  • Write a changelog entry (see changelog/README.md)
  • Check copyright notices are up to date in edited files

I don't think this needs a changelog entry. It is more of a clarification than a change. But if people want a changelog, that can be done.

It can be nice to be able to rely on `pack` never raising `XException`
and it is good behavior. I have always expected this behavior, but it
was not documented. Let's document it. I have checked all instances in
`clash-prelude` and they all conform to the law. The same goes for
deriving a `BitPack` or using `deriveBitPack`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants