haskell-gi-base-0.20.2: Foundation for libraries generated by haskell-gi

Safe HaskellSafe
LanguageHaskell98

Data.GI.Base.CallStack

Description

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).

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: 4.9.0.0

prettyCallStack :: CallStack -> String #

Pretty print a CallStack.

Since: 4.9.0.0

callStack :: HasCallStack -> CallStack #

Return the current CallStack.

Does *not* include the call-site of callStack.

Since: 4.9.0.0