[commit: ghc] master: Fix a formatting error in the user's guide (6e5f828)

git at git.haskell.org git at git.haskell.org
Fri Jan 22 17:49:15 UTC 2016


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

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

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

commit 6e5f8285005895fe4f1915ddea99b72f8ee91834
Author: Eric Seidel <gridaphobe at gmail.com>
Date:   Fri Jan 22 16:16:46 2016 +0100

    Fix a formatting error in the user's guide
    
    ```
    ``CallStack``s
    ```
    
    seems to confuse ReST into producing an extended code-span
    
    ```
    ``CallStack``\s
    ```
    
    fixes it, but there may be a better solution
    
    Test Plan: build the user's guide and inspect the last paragraph of
    "9.14.4.5. Implicit CallStacks"
    
    Reviewers: bgamari
    
    Reviewed By: bgamari
    
    Projects: #ghc
    
    Differential Revision: https://phabricator.haskell.org/D1798


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

6e5f8285005895fe4f1915ddea99b72f8ee91834
 docs/users_guide/glasgow_exts.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst
index 4323b3a..d4ca508 100644
--- a/docs/users_guide/glasgow_exts.rst
+++ b/docs/users_guide/glasgow_exts.rst
@@ -8125,7 +8125,7 @@ ordinary implicit parameters.
 ``GHC.Stack`` additionally exports a function ``freezeCallStack`` that
 allows users to freeze a ``CallStack``, preventing any future push
 operations from having an effect. This can be used by library authors
-to prevent ``CallStack``s from exposing unecessary implementation
+to prevent ``CallStack``\s from exposing unecessary implementation
 details. Consider the ``head`` example above, the ``myerror`` line in
 the printed stack is not particularly enlightening, so we might choose
 to surpress it by freezing the ``CallStack`` that we pass to ``myerror``.



More information about the ghc-commits mailing list