HORIZON HASKELLDocsmaster5ff592b2026-10-19Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · master · 5ff592b · 2026-10-19

Moduleghc-10.0.0.20260917GHC2024

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