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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 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 #-}`.