Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
LookupHidden :: [(Module, ModuleOrigin)] -> [(Module, ModuleOrigin)] -> LookupResultghc-lib-parser 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
-
ghc-lib-parser GHC.Unit.State Module is hidden, and thus never will be available for import. (But maybe the user didn't realize), so we'll still keep track of these modules.)
SuggestHidden :: ModuleName -> Module -> ModuleOrigin -> ModuleSuggestionghc-lib-parser GHC.Unit.State No documentation available.
fromHiddenReexport :: ModuleOrigin -> [UnitInfo]ghc-lib-parser GHC.Unit.State Is the module available from a reexport of a hidden package?
lookupUnitId :: UnitState -> UnitId -> Maybe UnitInfoghc-lib-parser GHC.Unit.State Find the unit we know about with the given unit id, if any
lookupUnitId' :: UnitInfoMap -> UnitId -> Maybe UnitInfoghc-lib-parser GHC.Unit.State Find the unit we know about with the given unit id, if any
moduleNameProvidersMap :: UnitState -> !ModuleNameProvidersMapghc-lib-parser GHC.Unit.State This is a full map from ModuleName to all modules which may possibly be providing it. These providers may be hidden (but we'll still want to report them in error messages), or it may be an ambiguous import.
pluginModuleNameProvidersMap :: UnitState -> !ModuleNameProvidersMapghc-lib-parser GHC.Unit.State A map, like moduleNameProvidersMap, but controlling plugin visibility.
pprUnitIdForUser :: UnitState -> UnitId -> SDocghc-lib-parser GHC.Unit.State Pretty-print a UnitId for the user. Cabal packages may contain several components (programs, libraries, etc.). As far as GHC is concerned, installed package components ("units") are identified by an opaque UnitId string provided by Cabal. As the string contains a hash, we don't want to display it to users so GHC queries the database to retrieve some infos about the original source package (name, version, component name). Instead we want to display: packagename-version[:componentname] Component name is only displayed if it isn't the default library To do this we need to query a unit database.
searchPackageId :: UnitState -> PackageId -> [UnitInfo]ghc-lib-parser GHC.Unit.State Search for units with a given package ID (e.g. "foo-0.1")