GHC.Prim.Panic

ghc-prim-0.8.0: GHC primitives

Safe Haskell | None
Language | Haskell2010

GHC.Prim.Panic

Description

Primitive panics.

Synopsis

- absentSumFieldError :: a
- panicError :: Addr# -> a
- absentError :: Addr# -> a

# Documentation

absentSumFieldError :: a Source #

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

See Note [aBSENT_SUM_FIELD_ERROR_ID] in GHC.Core.Make

panicError :: Addr# -> a Source #

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

absentError :: Addr# -> a Source #

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