HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleghc-prim-0.12.0Haskell2010

GHC.Prim.Panic

Primitive panics.

Users should not import this module. It is GHC internal only.

  • 4 values
  • Packageghc-prim-0.12.0
  • Exports4
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourcePanic.hs
valueabsentSumFieldError :: a
#

Closure introduced by GHC.Stg.Unarise for unused unboxed sum fields.

See Note [aBSENT_SUM_FIELD_ERROR_ID] in GHC.Core.Make

valuepanicError :: Addr# -> a
#

Display the CString whose address is given as an argument and exit.

valueabsentError :: Addr# -> a
#

Displays "Oops! Entered absent arg" ++ errormsg and exits the program.