sasha-0: A staged lexer generator
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sasha.Internal.Word8Set

Synopsis

Set type

data Word8Set Source #

Instances

Instances details
Arbitrary Word8Set Source # 
Instance details

Defined in Sasha.Internal.Word8Set

Monoid Word8Set Source # 
Instance details

Defined in Sasha.Internal.Word8Set

Semigroup Word8Set Source # 
Instance details

Defined in Sasha.Internal.Word8Set

Show Word8Set Source # 
Instance details

Defined in Sasha.Internal.Word8Set

Eq Word8Set Source # 
Instance details

Defined in Sasha.Internal.Word8Set

Ord Word8Set Source # 
Instance details

Defined in Sasha.Internal.Word8Set

BoundedJoinSemiLattice Word8Set Source # 
Instance details

Defined in Sasha.Internal.Word8Set

Methods

bottom :: Word8Set #

BoundedMeetSemiLattice Word8Set Source # 
Instance details

Defined in Sasha.Internal.Word8Set

Methods

top :: Word8Set #

Lattice Word8Set Source # 
Instance details

Defined in Sasha.Internal.Word8Set

Lift Word8Set Source # 
Instance details

Defined in Sasha.Internal.Word8Set

Methods

lift :: Quote m => Word8Set -> m Exp #

liftTyped :: forall (m :: Type -> Type). Quote m => Word8Set -> Code m Word8Set #

type Key = Word8 Source #

Construction

Insertion

Deletion

Query

memberCode :: Code Q Word8 -> Word8Set -> Code Q Bool Source #

Optimized routing to check membership when Word8Set is statically known.

memberCode c ws = [||member $$c $$(liftTyped ws) ||]

Combine

Min/Max

Conversion to List