|
| Data.Attoparsec.FastSet | | Portability | unknown | | Stability | experimental | | Maintainer | bos@serpentine.com |
|
|
|
|
|
| Description |
| Fast set membership tests for Word8 and 8-bit Char values. The
set representation is unboxed for efficiency. For small sets, we
test for membership using a binary search. For larger sets, we use
a lookup table.
|
|
| Synopsis |
|
|
|
|
| Data type
|
|
|
Instances | |
|
|
| Construction
|
|
|
|
|
| Create a set.
|
|
| Lookup
|
|
|
| Check the set for membership. Only works with 8-bit characters:
characters above code point 255 will give wrong answers.
|
|
|
| Check the set for membership.
|
|
| Debugging
|
|
|
|
| Handy interface
|
|
|
|
| Produced by Haddock version 2.6.1 |