Module DA.Stack

Data Types

data SrcLoc

Location in the source code.

Line and column are 0-based.

SrcLoc

Field Type Description
srcLocPackage Text  
srcLocModule Text  
srcLocFile Text  
srcLocStartLine Int  
srcLocStartCol Int  
srcLocEndLine Int  
srcLocEndCol Int  

Functions

prettyCallStack
: CallStack -> Text
getCallStack

: CallStack -> [(Text, SrcLoc)]

Extract the list of call sites from the CallStack.

The most recent call comes first.

callStack

: HasCallStack => CallStack

Access to the current CallStack.