call-stack
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.CallStack

Documentation

type HasCallStack = ?callStack :: CallStack #

type CallStack = [(String, SrcLoc)] Source #

data SrcLoc #

Constructors

SrcLoc 

Fields

Instances

Instances details
Eq SrcLoc # 
Instance details

Defined in GHC.Internal.Stack.Types

Methods

(==) :: SrcLoc -> SrcLoc -> Bool

(/=) :: SrcLoc -> SrcLoc -> Bool

callSite :: HasCallStack => Maybe (String, SrcLoc) Source #