ghc-internal-9.1500.0: Basic libraries
Safe HaskellNone
LanguageHaskell2010

GHC.Internal.Stack.Annotation

Synopsis

Documentation

class StackAnnotation a where Source #

StackAnnotations are types which can be pushed onto the call stack as the payload of AnnFrame stack frames.

data SomeStackAnnotation where Source #

The SomeStackAnnotation type is the root of the stack annotation type hierarchy. When the call stack is annotated with a value of type a, behind the scenes it is encapsulated in a SomeStackAnnotation.

Constructors

SomeStackAnnotation :: forall a. (Typeable a, StackAnnotation a) => a -> SomeStackAnnotation