The bitvec package

[Tags:library, public-domain]

Another bit-array library for Haskell. This one defines a Bit type (which is an instance of all the expected classes, including numeric ones) and makes that type an instance of `Data.Vector.Unboxed. Unbox`, so we get a lot of nice APIs for free. Bool is already an unboxable type, but the current unboxed Vector implementation packs each bit as a byte. This one packs 8 bits per byte, as expected (UArray from the array package also uses one bit per Bool).

In addition to the Vector interface, there are several high-level operations and some low-level ones suitable for building new bulk operations by viewing the bit-vector as a word vector.

Properties

Versions 0.1, 0.1.0.1, 0.1.0.2
Dependencies base (>=3 && <5), primitive, vector (>=0.8) [details]
License PublicDomain
Author James Cook <mokus@deepbondi.net>
Maintainer James Cook <mokus@deepbondi.net>
Stability experimental
Category Data, Bit Vectors
Home page https://github.com/mokus0/bitvec
Source repository head: git clone git://github.com/mokus0/bitvec.git
Uploaded Fri Jan 18 18:53:34 UTC 2013 by JamesCook
Distributions NixOS:0.1.0.2
Downloads 659 total (7 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees