purescript-0.15.8: PureScript Programming Language Compiler
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.PureScript.Renamer

Description

Renaming pass that prevents shadowing of local identifiers.

Synopsis

Documentation

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.