Module GHC.Stack.Types¶
Data Types¶
data CallStack
Type of
CallStack``s constructed automatically from ``HasCallStackconstraints.Use
getCallStackto deconstruct theCallStack.PushCallStack (TextLit, SrcLoc, CallStack)
- type HasCallStack
- = IP “callStack” CallStack - Request a CallStack. - Calls to functions with this constraint will be added to the callstack. You can get access to the current call stack with - callStack.- Note that if the call stack is reset if any function in between does not have a - HasCallStackconstraint.
data SrcLoc
Functions¶
- pushCallStack
- : (TextLit, SrcLoc) -> CallStack -> CallStack