The bv-sized package

[ Tags: bit-vectors, bsd3, library ] [ Propose Tags ]

This module defines a width-parameterized BitVector type and various associated operations that assume a 2's complement representation.

[Skip to Readme]


Versions,,, 0.2.0
Change log
Dependencies base (>=4.7 && <5), containers (>=0.5.11 && <0.6), lens (==4.*), parameterized-utils, QuickCheck (==2.11.*), random (==1.1.*) [details]
License BSD3
Copyright March 2018
Author Ben Selfridge
Category Bit Vectors
Home page
Uploaded Sat Mar 17 14:39:24 UTC 2018 by benselfridge
Distributions NixOS:0.2.0
Downloads 60 total (60 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-03-17 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for bv-sized-0.2.0

[back to package description]


This library defines a BitVector datatype that is parameterized by the vector width.

It is especially useful in applications where the length of every individual bit vector will be known at compile time. Supports width-changing operations like truncation, signed/unsigned extension, and extraction/bit slicing.