HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleghc-9.10.3GHC2021

GHC.Unit.Finder

Module finder

  • 4 types
  • 19 values
  • Packageghc-9.10.3
  • Exports23
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceFinder.hs
datadata FindResult
#

The result of searching for an imported module.

NB: FindResult manages both user source-import lookups (which can result in Module) as well as direct imports for interfaces (which always result in InstalledModule).

Constructors

datadata FinderOpts
#

Locations and information the finder cares about.

Should be taken from DynFlags via initFinderOpts.

Constructors

Instances1Show

Locate a module that was imported by the user. We have the module's name, and possibly a package name. Without a package name, this function will use the search path and the known exposed packages to find the module, if a package is specified then only that package is searched for the module.