Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type Environment = Map (ModuleName ()) [Symbol]
- loadBase :: IO Environment
- readSymbols :: FilePath -> IO [Symbol]
- writeSymbols :: FilePath -> [Symbol] -> IO ()
- data SymbolsFileException = BadSymbolsFile FilePath String
Documentation
type Environment = Map (ModuleName ()) [Symbol] Source #
A map from module name to list of symbols it exports.
Load a predefined environment
loadBase :: IO Environment Source #
Load a basic environment that contains modules very similar to GHC's base package.
Read and write symbols files
Exceptions
data SymbolsFileException Source #
BadSymbolsFile FilePath String | Symbols could not be parsed. This tells you the name of the file and the parse error text. |