Skip to content

Fix Generic Binary instance for types with 256 constructors#228

Open
konsumlamm wants to merge 3 commits intohaskell:masterfrom
konsumlamm:generic256
Open

Fix Generic Binary instance for types with 256 constructors#228
konsumlamm wants to merge 3 commits intohaskell:masterfrom
konsumlamm:generic256

Conversation

@konsumlamm
Copy link
Contributor

@konsumlamm konsumlamm commented Mar 24, 2026

Closes #175.

Pass around the maximum code (size - 1) instead of the size to avoid overflow.
Use Word64 instead of polymorphic word.

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.

1 participant