name: bitvec version: 0.1.0.2 x-revision: 1 stability: experimental cabal-version: >= 1.9.2 build-type: Simple author: James Cook maintainer: James Cook license: PublicDomain license-file: LICENSE homepage: https://github.com/mokus0/bitvec category: Data, Bit Vectors synopsis: Unboxed vectors of bits / dense IntSets description: 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. tested-with: GHC == 7.0.4, GHC == 7.2.2, GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.1, GHC == 7.11 source-repository head type: git location: git://github.com/mokus0/bitvec.git Test-Suite bitvec-tests type: exitcode-stdio-1.0 hs-source-dirs: src test ghc-options: -threaded -fwarn-unused-imports -fwarn-unused-binds main-is: Main.hs other-modules: Support Tests.Bit Tests.MVector Tests.SetOps Tests.Vector build-depends: base >= 3, HUnit, primitive, vector >= 0.8, test-framework, test-framework-hunit, test-framework-quickcheck2, QuickCheck Library hs-source-dirs: src ghc-options: -fwarn-unused-imports -fwarn-unused-binds -fwarn-type-defaults exposed-modules: Data.Bit Data.Vector.Unboxed.Bit Data.Vector.Unboxed.Mutable.Bit other-modules: Data.Bit.Internal Data.Vector.Unboxed.Bit.Internal build-depends: base >= 3 && < 4.17, primitive, vector >= 0.8 if impl(ghc == 7.2.1) ghc-options: -trust vector