ouroboros-consensus-0.1.0.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Util.CallStack

Description

CallStack with a nicer Show instance

Use of this module is intended to replace import of GHC.Stack

Synopsis

Documentation

opaque

data PrettyCallStack Source #

CallStack with Show instance using prettyCallStack

Instances

Instances details
Show PrettyCallStack Source # 
Instance details

Defined in Ouroboros.Consensus.Util.CallStack

NoThunks PrettyCallStack Source # 
Instance details

Defined in Ouroboros.Consensus.Util.CallStack

Methods

noThunks ∷ Context → PrettyCallStackIO (Maybe ThunkInfo) #

wNoThunks ∷ Context → PrettyCallStackIO (Maybe ThunkInfo) #

showTypeOfProxy PrettyCallStackString #

Re-exports

type HasCallStack = ?callStack ∷ CallStack Source #

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