[commit: ghc] master: glasgow_exts.rst: fix code block (0380a95)

git at git.haskell.org git at git.haskell.org
Wed Dec 30 16:24:55 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/0380a95b42a5e79edbe835ea76142ae0472c7b2d/ghc

>---------------------------------------------------------------

commit 0380a95b42a5e79edbe835ea76142ae0472c7b2d
Author: Sergei Trofimovich <siarheit at google.com>
Date:   Wed Dec 30 16:21:25 2015 +0000

    glasgow_exts.rst: fix code block
    
    Detected by sphinx as:
        ERROR: Unexpected indentation.
    
    Signed-off-by: Sergei Trofimovich <siarheit at google.com>


>---------------------------------------------------------------

0380a95b42a5e79edbe835ea76142ae0472c7b2d
 docs/users_guide/glasgow_exts.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst
index 961a378..51f84d6 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



More information about the ghc-commits mailing list