Skip to content

Fixes for newer Data.Bits#1

Open
aninhumer wants to merge 5 commits intoacfoltzer:masterfrom
aninhumer:master
Open

Fixes for newer Data.Bits#1
aninhumer wants to merge 5 commits intoacfoltzer:masterfrom
aninhumer:master

Conversation

@aninhumer
Copy link
Copy Markdown

The latest version of Data.Bits has changed the interface somewhat, and bit-vector was no longer compatible.

Most notably, Num is no longer a superclass of Bits, which caused a type error in pack.

The interface also has some new methods (bit,testBit, popCount), and in order to support these effectively, I also modified (.|.) and xor to pad before zipping. (Since otherwise, there is no useful definition of bit).

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