Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Enum StateNum Source # | |
Defined in Language.Lexer.Tlex.Machine.State | |
Eq StateNum Source # | |
Ord StateNum Source # | |
Defined in Language.Lexer.Tlex.Machine.State | |
Show StateNum Source # | |
Ix StateNum Source # | |
Defined in Language.Lexer.Tlex.Machine.State | |
Hashable StateNum Source # | |
Defined in Language.Lexer.Tlex.Machine.State |
singletonSet :: StateNum -> StateSet Source #
data StateArray a Source #
Instances
totalStateMapToArray :: StateNum -> StateMap a -> StateArray a Source #
mapArrayWithIx :: (StateNum -> a -> a) -> StateArray a -> StateArray a Source #
indexArray :: StateArray a -> StateNum -> a Source #
arrayAssocs :: StateArray a -> [(StateNum, a)] Source #
data StateGraph Source #
stateArrayToGraph :: StateArray [StateNum] -> StateGraph Source #
liftGraphOp :: (Graph -> Graph) -> StateGraph -> StateGraph Source #
indexGraph :: StateGraph -> StateNum -> [StateNum] Source #