call-stack-0.4.0: Use GHC call-stacks in a backward compatible way
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.CallStack

Synopsis

Documentation

type HasCallStack = ?callStack :: CallStack #

Request a CallStack.

NOTE: The implicit parameter ?callStack :: CallStack is an implementation detail and should not be considered part of the CallStack API, we may decide to change the implementation in the future.

Since: base-4.9.0.0

data SrcLoc #

A single location in the source code.

Since: base-4.8.1.0

Instances

Instances details
Generic SrcLoc 
Instance details

Defined in GHC.Generics

Associated Types

type Rep SrcLoc

Since: base-4.15.0.0

Instance details

Defined in GHC.Generics

Methods

from :: SrcLoc -> Rep SrcLoc x #

to :: Rep SrcLoc x -> SrcLoc #

Show SrcLoc

Since: base-4.9.0.0

Instance details

Defined in GHC.Show

Eq SrcLoc

Since: base-4.9.0.0

Instance details

Defined in GHC.Stack.Types

Methods

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

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

type Rep SrcLoc

Since: base-4.15.0.0

Instance details

Defined in GHC.Generics