Hoogle Search
Within LTS Haskell 24.65 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
ghc GHC.Types.Name.Reader What should we look up in a GlobalRdrEnv? Should we only look up names with the exact same OccName, or do we allow different NameSpaces? Depending on the answer, we might need more or less information from the GlobalRdrEnv, e.g. if we want to include matching record fields we need to know if the corresponding record fields define field selectors, for which we need to consult the GREInfo. This is why this datatype is a GADT. See Note [IfGlobalRdrEnv].
LookupOccName :: forall info . OccName -> WhichGREs info -> LookupGRE infoghc GHC.Types.Name.Reader Look for this specific OccName, with the exact same NameSpace, in the GlobalRdrEnv.
LookupRdrName :: forall info . RdrName -> WhichGREs info -> LookupGRE infoghc GHC.Types.Name.Reader Look up the OccName of this RdrName in the GlobalRdrEnv, filtering out those whose qualification matches that of the RdrName. Lookup returns an empty result for Exact or Orig RdrNames.
LookupFound :: Module -> (UnitInfo, ModuleOrigin) -> LookupResultghc GHC.Unit.State Found the module uniquely, nothing else to do
LookupHidden :: [(Module, ModuleOrigin)] -> [(Module, ModuleOrigin)] -> LookupResultghc GHC.Unit.State No modules found, but there were some hidden ones with an exact name match. First is due to package hidden, second is due to module being hidden
LookupMultiple :: [(Module, ModuleOrigin)] -> LookupResultghc GHC.Unit.State Multiple modules with the same name in scope
LookupNotFound :: [ModuleSuggestion] -> LookupResultghc GHC.Unit.State Nothing found, here are some suggested different names
-
ghc GHC.Unit.State The result of performing a lookup
LookupUnusable :: [(Module, ModuleOrigin)] -> LookupResultghc GHC.Unit.State No modules found, but there were some unusable ones with an exact name match
-
wai-app-static WaiAppStatic.Types Result of looking up a file in some storage backend. The lookup is either a file or folder, or does not exist.