bitvec: Unboxed vectors of bits / dense IntSets

[ bit-vectors, bsd3, data, library, public-domain ] [ Propose Tags ]

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

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

Package maintainers

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 (>=4.8 && <4.17), primitive, vector (>=0.8) [details]
License LicenseRef-PublicDomain
Author James Cook <mokus@deepbondi.net>, Andrew Lelechenko <andrew.lelechenko@gmail.com>
Maintainer Andrew Lelechenko <andrew.lelechenko@gmail.com>
Revised Revision 2 made by phadej at 2022-10-08T19:49:24Z
Category Data, Bit Vectors
Home page https://github.com/Bodigrim/bitvec
Source repo head: git clone git://github.com/Bodigrim/bitvec.git
Uploaded by Bodigrim at 2019-01-30T21:26:36Z
Distributions Arch:1.1.3.0, Fedora:1.1.4.0, LTSHaskell:1.1.5.0, NixOS:1.1.5.0, Stackage:1.1.5.0, openSUSE:1.1.5.0
Reverse Dependencies 15 direct, 4899 indirect [details]
Downloads 13730 total (327 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-01-30 [all 1 reports]