ghc-9.14.0.20251128: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Iface.Env

Synopsis

Documentation

lookupIfaceTop :: OccName -> IfL Name #

Look up a top-level name from the current Iface module

lookupOrig :: Module -> OccName -> TcRnIf a b Name #

Look up the Name for a given Module and OccName. Consider alternatively using lookupIfaceTop if you're in the IfL monad and Module is simply that of the ModIface you are typechecking.

extendIfaceIdEnv :: [Id] -> IfL a -> IfL a #

setNameModule :: Maybe Module -> Name -> TcRnIf m n Name #

Set the Module of a Name.

trace_if :: Logger -> SDoc -> IO () #