| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
GHC.Internal.Stack.Annotation
Synopsis
- class StackAnnotation a where
- displayStackAnnotation :: a -> String
- data SomeStackAnnotation where
- SomeStackAnnotation :: forall a. (Typeable a, StackAnnotation a) => a -> SomeStackAnnotation
Documentation
class StackAnnotation a where Source #
StackAnnotations are types which can be pushed onto the call stack
as the payload of AnnFrame stack frames.
Methods
displayStackAnnotation :: a -> String Source #
Instances
| StackAnnotation SomeStackAnnotation Source # | |
Defined in GHC.Internal.Stack.Annotation Methods displayStackAnnotation :: SomeStackAnnotation -> String Source # | |
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 |
Instances
| StackAnnotation SomeStackAnnotation Source # | |
Defined in GHC.Internal.Stack.Annotation Methods displayStackAnnotation :: SomeStackAnnotation -> String Source # | |