Portability | unknown |
---|---|
Stability | experimental |
Maintainer | bos@serpentine.com |
Fast 8-bit character set membership.
- data FastSet
- set :: ByteString -> FastSet
- memberChar :: Char -> FastSet -> Bool
- memberWord8 :: Word8 -> FastSet -> Bool
- fromSet :: FastSet -> ByteString
Data type
Construction
set :: ByteString -> FastSetSource
Create a character set.
Lookup
memberChar :: Char -> FastSet -> BoolSource
Check the table for membership.
memberWord8 :: Word8 -> FastSet -> BoolSource
Check the table for membership.
Debugging
fromSet :: FastSet -> ByteStringSource