Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module is designed to be imported qualified.
- type Table = Map (QName ()) [Symbol]
- empty :: Table
- mergeTables :: Table -> Table -> Table
- lookupValue :: QName l -> Table -> [Symbol]
- lookupType :: QName l -> Table -> [Symbol]
- lookupMethodOrAssociate :: QName l -> Table -> [Symbol]
- lookupSelector :: QName l -> Table -> [Symbol]
- lookupName :: QName l -> Table -> [Symbol]
- isValue :: Symbol -> Bool
- isType :: Symbol -> Bool
- isMethodOrAssociated :: Symbol -> Bool
- isSelector :: Symbol -> Bool
- fromList :: [(QName (), Symbol)] -> Table
Documentation
type Table = Map (QName ()) [Symbol] Source #
Global symbol table — contains names declared somewhere at the top level.
mergeTables :: Table -> Table -> Table Source #
For each name take the union of the lists of symbols they refer to.
isMethodOrAssociated :: Symbol -> Bool Source #
isSelector :: Symbol -> Bool Source #