haskell-names-0.9.0: Name resolution library for Haskell
Language.Haskell.Names.LocalSymbolTable
Description
This module is designed to be imported qualified.
Synopsis
data Table Source #
Local symbol table — contains locally bound names
Instances
Methods
mempty :: Table #
mappend :: Table -> Table -> Table #
mconcat :: [Table] -> Table #
empty :: Table Source #
lookupValue :: QName l -> Table -> Either (Error l) SrcLoc Source #
addValue :: SrcInfo l => Name l -> Table -> Table Source #