haskell-names-0.6.0: Name resolution library for Haskell

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Names.GlobalSymbolTable

Description

This module is designed to be imported qualified.

Synopsis

Documentation

type Table = Map QName [Symbol] Source

Global symbol table — contains names declared somewhere at the top level.

empty :: Table Source

Empty global symbol table.

mergeTables :: Table -> Table -> Table Source

For each name take the union of the lists of symbols they refer to.

data Result l Source

Constructors

SymbolFound Symbol 
Error (Error l) 
Special