Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
CallStack with a nicer Show
instance
Use of this module is intended to replace import of GHC.Stack
Synopsis
- prettyCallStack ∷ HasCallStack ⇒ PrettyCallStack
- data PrettyCallStack
- type HasCallStack = ?callStack ∷ CallStack
Documentation
opaque
data PrettyCallStack Source #
CallStack with Show
instance using prettyCallStack
Instances
Show PrettyCallStack Source # | |
Defined in System.FS.CallStack showsPrec ∷ Int → PrettyCallStack → ShowS # show ∷ PrettyCallStack → String # showList ∷ [PrettyCallStack] → ShowS # |
Re-exports
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