ghc-9.4.0.20220623: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Iface.Env

Synopsis

Documentation

lookupIfaceTop :: OccName -> IfL Name Source #

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

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

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