From 20fbb7c695083e4df16d467ab91769fe6957aa84 Mon Sep 17 00:00:00 2001 From: Denis Frezzato Date: Sun, 24 Jan 2021 12:27:35 +0100 Subject: Fix code formatting in `HasCallStack` section --- docs/users_guide/exts/callstack.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1