bitvec: Unboxed vectors of bits / dense IntSets
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.
Downloads
- bitvec-0.1.0.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1, 0.1.0.1, 0.1.0.2, 0.1.1.0, 0.2.0.0, 0.2.0.1, 1.0.0.0, 1.0.0.1, 1.0.1.0, 1.0.1.1, 1.0.1.2, 1.0.2.0, 1.0.3.0, 1.1.0.0, 1.1.1.0, 1.1.2.0, 1.1.3.0, 1.1.4.0, 1.1.5.0 (info) |
---|---|
Dependencies | base (>=3 && <4.17), primitive, vector (>=0.8) [details] |
Tested with | ghc ==6.10.4, ghc ==6.12.3, ghc ==7.0.4, ghc ==7.2.1, ghc ==7.2.2, ghc ==7.4.1 |
License | LicenseRef-PublicDomain |
Author | James Cook <mokus@deepbondi.net> |
Maintainer | James Cook <mokus@deepbondi.net> |
Revised | Revision 1 made by phadej at 2022-10-08T19:49:23Z |
Category | Data, Bit Vectors |
Home page | https://github.com/mokus0/bitvec |
Source repo | head: git clone git://github.com/mokus0/bitvec.git |
Uploaded | by JamesCook at 2013-01-18T18:53:34Z |
Distributions | Arch:1.1.3.0, Fedora:1.1.5.0, LTSHaskell:1.1.5.0, NixOS:1.1.5.0, Stackage:1.1.5.0, openSUSE:1.1.5.0 |
Reverse Dependencies | 18 direct, 5102 indirect [details] |
Downloads | 17535 total (26 in the last 30 days) |
Rating | 2.25 (votes: 2) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |