Loading...

GHC.Iface.Rename

This module implements interface renaming, which is used to rewrite interface files on the fly when we are doing indefinite typechecking and need instantiations of modules which do not necessarily exist yet.

Documentation

rnModExports :: HscEnv -> [(ModuleName, Module)] -> ModIface -> IO (Either (Messages TcRnMessage) [AvailInfo]) Source #

Rename just the exports of a ModIface. Useful when we're doing shaping prior to signature merging.