[commit: ghc] master: docs/glasgow_exts: Use warning admonition (69c3964)

git at git.haskell.org git at git.haskell.org
Tue Dec 8 13:59:28 UTC 2015


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

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

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

commit 69c3964a93b2b8359452799c13ab551b67e4c5a5
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Dec 8 13:14:14 2015 +0100

    docs/glasgow_exts: Use warning admonition


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

69c3964a93b2b8359452799c13ab551b67e4c5a5
 docs/users_guide/glasgow_exts.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst
index 4fc02f6..d313556 100644
--- a/docs/users_guide/glasgow_exts.rst
+++ b/docs/users_guide/glasgow_exts.rst
@@ -11542,8 +11542,8 @@ You can add explicit phase control (:ref:`phase-control`) to
 do so, the same phase is used for the rewrite rule and the INLINE
 control of the specialised function.
 
-Warning: you can make GHC diverge by using ``SPECIALISE INLINE`` on an
-ordinarily-recursive function.
+.. warning:: You can make GHC diverge by using ``SPECIALISE INLINE`` on an
+             ordinarily-recursive function.
 
 ``SPECIALIZE`` for imported functions
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the ghc-commits mailing list