Language.PureScript.Renamer
Description
Renaming pass that prevents shadowing of local identifiers.
renameInModule :: Module Ann -> (Map Ident Ident, Module Ann) Source #
Renames within each declaration in a module. Returns the map of renamed identifiers in the top-level scope, so that they can be renamed in the externs files as well.