Safe Haskell | None |
---|---|
Language | Haskell2010 |
- updateReExports :: Env -> [ModuleName] -> (ModuleName -> InPackage ModuleName) -> Map ModuleName Module -> Map ModuleName Module
Documentation
updateReExports :: Env -> [ModuleName] -> (ModuleName -> InPackage ModuleName) -> Map ModuleName Module -> Map ModuleName Module Source #
Given:
- The Imports/Exports Env
- An order to traverse the modules (which must be topological)
- A map of modules, indexed by their names, which are assumed to not have their re-exports listed yet
This function adds all the missing re-exports.