purescript-0.13.0: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.Docs.Convert.ReExports

Synopsis

Documentation

updateReExports :: [ExternsFile] -> (ModuleName -> InPackage ModuleName) -> Map ModuleName Module -> Map ModuleName Module Source #

Given:

  • A list of externs files
  • A function for tagging a module with the package it comes from
  • 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.