attoparsec-0.14.4: Fast combinator parsing for bytestrings and text
CopyrightFelipe Lessa 2010 Bryan O'Sullivan 2007-2015
LicenseBSD3
Maintainerfelipe.lessa@gmail.com
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Data.Attoparsec.Text.FastSet

Description

Fast set membership tests for Char values. We test for membership using a hashtable implemented with Robin Hood collision resolution. The set representation is unboxed, and the characters and hashes interleaved, for efficiency.

Synopsis

Data type

Construction

Lookup

member :: Char -> FastSet -> Bool Source #

Check the set for membership.

Handy interface