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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleghc-lib-parser-9.14.1.20251220GHC2021

GHC.Types.SafeHaskell

This stuff here is related to supporting the Safe Haskell extension, primarily about storing under what trust type a module has been compiled.

  • 3 types
  • 3 values
datadata SafeHaskellMode
#

The various Safe Haskell modes

Constructors

Instances4Eq, Show, NFData, Outputable
newtypenewtype IfaceTrustInfo
#

Safe Haskell information for ModIface Simply a wrapper around SafeHaskellMode to separate iface and flags

Instances3NFData, Outputable, Binary