purescript-0.12.0: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.Docs.Convert.ReExports

Synopsis

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.