HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Moduleghc-lib-parser-9.14.1.20251220GHC2021

GHC.Types.SourceFile

  • 2 types
  • 5 values
datadata HscSource
#

Constructors

Instances5Eq, Ord, Show, NFData, Binary
  • Eq HscSourceDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Types.SourceFile
  • Ord HscSourceDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Types.SourceFile
  • Show HscSourceDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Types.SourceFile
  • NFData HscSourceDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Types.SourceFile
  • Binary HscSourceDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Types.SourceFile
datadata HsBootOrSig
#

Constructors

Instances4Eq, Ord, Show, NFData
  • Eq HsBootOrSigDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Types.SourceFile
  • Ord HsBootOrSigDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Types.SourceFile
  • Show HsBootOrSigDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Types.SourceFile
  • NFData HsBootOrSigDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Types.SourceFile

Tests if an HscSource is a boot file, primarily for constructing elements of BuildModule. We conflate signatures and modules because they are bound in the same namespace; only boot interfaces can be disambiguated with `import {-# SOURCE #-}`.