dev-haskell / bitwise

fast multi-dimensional unboxed bit packed Bool arrays

Official package sites : ·

Unboxed multidimensional bit packed Bool arrays with fast aggregate operations based on lifting Bool operations to bitwise operations. There are many other bit packed structures out there, but none met all of these requirements: (1) unboxed bit packed Bool array, (2) multi-dimensional indexing, (3) fast (de)serialization, or interoperable with foreign code, (4) fast aggregate operations (fold, map, zip). Quick tour of the bitwise library: [Data.Bits.Bitwise] Lift boolean operations on 'Bool' to bitwise operations on 'Data.Bits.Bits'. [Data.Array.BitArray] Immutable bit arrays. [Data.Array.BitArray.ST] Mutable bit arrays in 'Control.Monad.ST.ST'. [Data.Array.BitArray.IO] Mutable bit arrays in 'IO'. [Data.Array.BitArray.ByteString] (De)serialization. [Codec.Image.PBM] Portable bitmap monochrome 2D image format. Very rough performance benchmarks: * immutable random access single bit reads: @BitArray ix@ is about 40% slower than @UArray ix Bool@, * 'Control.Monad.ST.ST' mutable random access single bit reads: @STBitArray s ix@ is about the same as @STUArray s ix Bool@, * immutable map @Bool -> Bool@: @BitArray ix@ is about 85x faster than @UArray ix Bool@, * immutable zipWith @Bool -> Bool -> Bool@: @BitArray ix@ is about 1300x faster than @UArray ix Bool@.

v0.1.1.1 :: 0/ :: gentoo

~amd64 ~x86
USE flags
doc hscolour profile test


Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
Include coloured haskell sources to generated documentation (dev-haskell/hscolour)
Add support for software performance analysis (will likely vary from ebuild to ebuild)
Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)

dev-haskell / cabal : A framework for packaging Haskell software

dev-haskell / haddock : A documentation-generation tool for Haskell libraries

dev-haskell / hscolour : Colourise Haskell code

dev-haskell / quickcheck : Automatic testing of Haskell programs

dev-lang / ghc : The Glasgow Haskell Compiler

dev-lang / ghc : The Glasgow Haskell Compiler

app-forensics / quickfuzz : An experimental grammar fuzzer in Haskell using QuickCheck

Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
*/*: Inline mirror://hackage and update URIs
This change inlines mirror://hackage in all ebuilds, and updates URIs to the modern form (old URIs redirect to that). The change has been made using the following command: find -name '*.ebuild' -exec sed -r -i \ -e 's@mirror://hackage/@' \ -e 's@[^/]*)/([^/]*)/@\1-\2/@g' \ -e '/hackage\.haskell\.org/s@\$\{PN}-\$\{PV}@${P}@g' \ -e '/hackage\.haskell\.org/s@\$\{MY_PN}-\$\{PV}@${MY_P}@g' \ -e '/hackage\.haskell\.org/s@\$\{PN}-\$\{MY_PV}@${MY_P}@g' \ {} + Signed-off-by: Michał Górny <>
Robin H. Johnson · gentoo
Drop $Id$ per council decision in bug #611234.
Signed-off-by: Robin H. Johnson <>
Sergei Trofimovich · gentoo
dev-haskell/bitwise: multidimentional bit arrays, a depend of app-forensics/quickfuzz
Package-Manager: portage-2.3.0