| Copyright | Bryan O'Sullivan 2007-2015 |
|---|---|
| License | BSD3 |
| Maintainer | bos@serpentine.com |
| Stability | experimental |
| Portability | unknown |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Attoparsec.ByteString.FastSet
Description
Data type
Construction
set :: ByteString -> FastSet #
Create a set.
Lookup
memberChar :: Char -> FastSet -> Bool #
Check the set for membership. Only works with 8-bit characters: characters above code point 255 will give wrong answers.
memberWord8 :: Word8 -> FastSet -> Bool #
Check the set for membership.
Debugging
fromSet :: FastSet -> ByteString #