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.Unit.Module.WholeCoreBindings

  • 5 types
  • 5 values
datadata IfaceCStubs
#

Simplified encoding of ForeignStubs for interface serialization.

See Note [Foreign stubs and TH bytecode linking]

Instances3NFData, Outputable, Binary
  • NFData IfaceCStubsDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Unit.Module.WholeCoreBindings
  • Outputable IfaceCStubsDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Unit.Module.WholeCoreBindings
  • Binary IfaceCStubsDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Unit.Module.WholeCoreBindings
datadata IfaceForeignFile
#

A source file added from Template Haskell using qAddForeignFilePath, for storage in interfaces.

See Note [Foreign stubs and TH bytecode linking]

Constructors

  • IfaceForeignFile
    • lang :: ForeignSrcLang

      The language is specified by the user.

    • source :: String

      The contents of the file, which will be written to a temporary file when loaded from an interface.

    • extension :: FilePath

      The extension used by the user is preserved, to avoid confusing external tools with an unexpected .c file or similar.

Instances3NFData, Outputable, Binary