summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2015-12-30 16:21:25 +0000
committerSergei Trofimovich <siarheit@google.com>2015-12-30 16:25:46 +0000
commit0380a95b42a5e79edbe835ea76142ae0472c7b2d (patch)
treecc1e4f8f75bd18c4cf8de2bf692d1148a2097ebc
parentd3a79bcc035d7dab4f16a807984225e4bd4fccd8 (diff)
downloadhaskell-0380a95b42a5e79edbe835ea76142ae0472c7b2d.tar.gz
glasgow_exts.rst: fix code block
Detected by sphinx as: ERROR: Unexpected indentation. Signed-off-by: Sergei Trofimovich <siarheit@google.com>
-rw-r--r--docs/users_guide/glasgow_exts.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst
index 961a3785d0..51f84d68cd 100644
--- a/docs/users_guide/glasgow_exts.rst
+++ b/docs/users_guide/glasgow_exts.rst
@@ -8401,6 +8401,7 @@ the printed stack is not particularly enlightening, so we might choose
to surpress it by freezing the ``CallStack`` that we pass to ``myerror``.
::
+
head :: (?callStack :: CallStack) => [a] -> a
head [] = let ?callStack = freezeCallStack ?callStack in myerror "empty"
head (x:xs) = x