[commit: ghc] ghc-8.0: Fix a formatting error in the user's guide (0ace13a)

git at git.haskell.org git at git.haskell.org
Mon Jan 25 15:57:23 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/0ace13a486503cb17e6c9b5ed650f14247c78865/ghc

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

commit 0ace13a486503cb17e6c9b5ed650f14247c78865
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
    
    (cherry picked from commit 6e5f8285005895fe4f1915ddea99b72f8ee91834)


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

0ace13a486503cb17e6c9b5ed650f14247c78865
 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 656b9d8..f4eb7e2 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