summaryrefslogtreecommitdiff
path: root/docs/users_guide/exts/callstack.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/users_guide/exts/callstack.rst')
-rw-r--r--docs/users_guide/exts/callstack.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/users_guide/exts/callstack.rst b/docs/users_guide/exts/callstack.rst
index f4fbf9b7e9..59d17cae9c 100644
--- a/docs/users_guide/exts/callstack.rst
+++ b/docs/users_guide/exts/callstack.rst
@@ -10,7 +10,7 @@ A function can request its call-site with the ``HasCallStack`` constraint
and access it as a Haskell value by using ``callStack``.
One can then use functions from ``GHC.Stack`` to inspect or pretty
-print (as is done in ``f`` below) the call stack.
+print (as is done in ``f`` below) the call stack. ::
f :: HasCallStack => IO ()
f = putStrLn (prettyCallStack callStack)