Safe Haskell | Safe |
---|---|
Language | Haskell98 |
A compatibility layer for CallStack
, so that we can have
uniform signatures even in old GHC versions (even if the
functionality itself does not work there).
- type HasCallStack = ?callStack :: CallStack
- prettyCallStack :: CallStack -> String
- callStack :: HasCallStack -> CallStack
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: 4.9.0.0
prettyCallStack :: CallStack -> String #
Pretty print a CallStack
.
Since: 4.9.0.0