@hackage bitset1.1

A functional data structure for efficient membership testing.

A bit set maintains a record of members from a type that can be mapped into (non-negative) Ints. Supports insertion, deletion, size, and membership testing, and is completely pure (functional).