Cabal-3.12.0.0: A framework for packaging Haskell software
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Compat.Stack

Synopsis

Documentation

data CallStack #

Instances

Instances details
NFData CallStack Source #

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: CallStack -> () Source #

IsList CallStack # 
Instance details

Defined in GHC.Internal.IsList

Associated Types

type Item CallStack 
Instance details

Defined in GHC.Internal.IsList

Show CallStack # 
Instance details

Defined in GHC.Internal.Show

type Item CallStack # 
Instance details

Defined in GHC.Internal.IsList

annotateCallStackIO :: WithCallStack (IO a -> IO a) Source #

This function is for when you *really* want to add a call stack to raised IO, but you don't have a Verbosity so you can't use annotateIO. If you have a Verbosity, please use that function instead.

parentSrcLocPrefix :: WithCallStack String Source #

Give the *parent* of the person who invoked this; so it's most suitable for being called from a utility function. You probably want to call this using withFrozenCallStack; otherwise it's not very useful. We didn't implement this for base-4.8.1 because we cannot rely on freezing to have taken place.