cpphs

PortabilityAll
StabilityStable
MaintainerMalcolm Wallace <Malcolm.Wallace@cs.york.ac.uk>

Language.Preprocessor.Cpphs.SymTab

Description

Symbol Table, based on index trees using a hash on the key. Keys are always Strings. Stored values can be any type.

Synopsis

Documentation

type SymTab v = IndTree [(String, v)]

Symbol Table. Stored values are polymorphic, but the keys are always strings.

insertST :: (String, v) -> SymTab v -> SymTab v

data IndTree t

Index Trees (storing indexes at nodes).

Instances

Show t => Show (IndTree t)