Hoogle Search
Within LTS Haskell 24.12 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
lookupModuleInAllUnits :: UnitState -> ModuleName -> [(Module, UnitInfo)]ghc GHC.Unit.State Takes a ModuleName, and if the module is in any package returns list of modules which take that name.
lookupModulePackage :: UnitState -> ModuleName -> PkgQual -> Maybe [UnitInfo]ghc GHC.Unit.State The package which the module **appears** to come from, this could be the one which reexports the module from it's original package. This function is currently only used for -Wunused-packages
lookupModuleWithSuggestions :: UnitState -> ModuleName -> PkgQual -> LookupResultghc GHC.Unit.State No documentation available.
lookupPackageName :: UnitState -> PackageName -> Maybe UnitIdghc GHC.Unit.State Find the unit we know about with the given package name (e.g. foo), if any (NB: there might be a locally defined unit name which overrides this) This function is unsafe to use in general because it doesn't respect package visibility.
lookupPluginModuleWithSuggestions :: UnitState -> ModuleName -> PkgQual -> LookupResultghc GHC.Unit.State No documentation available.
lookupUnit :: UnitState -> Unit -> Maybe UnitInfoghc GHC.Unit.State Find the unit we know about with the given unit, if any
lookupUnit' :: Bool -> UnitInfoMap -> PreloadUnitClosure -> Unit -> Maybe UnitInfoghc GHC.Unit.State A more specialized interface, which doesn't require a UnitState (so it can be used while we're initializing DynFlags) Parameters: * a boolean specifying whether or not to look for on-the-fly renamed interfaces * a UnitInfoMap * a PreloadUnitClosure
lookupUnitId :: UnitState -> UnitId -> Maybe UnitInfoghc GHC.Unit.State Find the unit we know about with the given unit id, if any
lookupUnitId' :: UnitInfoMap -> UnitId -> Maybe UnitInfoghc GHC.Unit.State Find the unit we know about with the given unit id, if any
lookupComponent :: PackageDescription -> ComponentName -> Maybe ComponentCabal Distribution.Simple.LocalBuildInfo No documentation available.