Safe Haskell | None |
---|
- type Environment = Map Name SymbolInformation
- new :: Environment
- bind :: Environment -> [(Name, SymbolInformation)] -> Environment
- maybeLookup :: Environment -> Name -> Maybe SymbolInformation
- update :: Environment -> Name -> SymbolInformation -> Environment
- delete :: Environment -> Name -> Environment
- toList :: Environment -> [(Name, SymbolInformation)]
- mkSymbolInformation :: TypeScheme -> SymbolInformation
- data SymbolInformation = SymbolInformation {}
Documentation
bind :: Environment -> [(Name, SymbolInformation)] -> EnvironmentSource
update :: Environment -> Name -> SymbolInformation -> EnvironmentSource
delete :: Environment -> Name -> EnvironmentSource
toList :: Environment -> [(Name, SymbolInformation)]Source
mkSymbolInformation :: TypeScheme -> SymbolInformationSource
Make symbol information for the type assuming that the symbol is not deprecated and its type is not unsafe.
data SymbolInformation Source
Used to represent information about a symbol
SymbolInformation | |
|