HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleghc-9.10.3GHC2021

GHC.Unit.Home.ModInfo

Info about modules in the "home" unit

  • 3 types
  • 22 values
  • Packageghc-9.10.3
  • Exports25
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceModInfo.hs
datadata HomeModInfo
#

Information about modules in the package being compiled

Constructors

  • HomeModInfo
    • hm_iface :: !ModIface

      The basic loaded interface file: every loaded module has one of these, even if it is imported from another package

    • hm_details :: ModDetails

      Extra information that has been created from the ModIface for the module, typically during typechecking

    • hm_linkable :: !HomeModLinkable

      The actual artifact we would like to link to access things in this module. See Note [Home module build products]

      hm_linkable might be empty:

      1. If this is an .hs-boot module

      2. Temporarily during compilation if we pruned away the old linkable because it was out of date.

      When re-linking a module (GHC.Driver.Main.HscNoRecomp), we construct the HomeModInfo by building a new ModDetails from the old ModIface (only).