bitarray-0.0.1: Mutable and immutable bit arrays

Data.BitArray.ST

Description

Mutable one-dimensional packed bit arrays in the (strict) ST monad.

Synopsis

Documentation

flipBit :: STBitArray s -> Int -> ST s BoolSource

flips the bit and returns the old value