[commit: ghc] master: Fix formatting complaint from Sphinx (d1ca5d2)

git at git.haskell.org git at git.haskell.org
Tue Dec 15 14:33:43 UTC 2015


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

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

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

commit d1ca5d215591a89dbfba7b87887b1197d03f567f
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Dec 15 14:19:12 2015 +0000

    Fix formatting complaint from Sphinx


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

d1ca5d215591a89dbfba7b87887b1197d03f567f
 docs/users_guide/glasgow_exts.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst
index b9ad620..853397a 100644
--- a/docs/users_guide/glasgow_exts.rst
+++ b/docs/users_guide/glasgow_exts.rst
@@ -8238,6 +8238,7 @@ the source location of the call to the ``CallStack`` in the
 environment. For example
 
 ::
+
    myerror :: (?callStack :: CallStack) => String -> a
    myerror msg = error (msg ++ "\n" ++ prettyCallStack ?callStack)
 
@@ -8254,6 +8255,7 @@ The ``CallStack`` will only extend as far as the types allow it, for
 example
 
 ::
+
    head :: (?callStack :: CallStack) => [a] -> a
    head []     = myerror "empty"
    head (x:xs) = x



More information about the ghc-commits mailing list