[commit: ghc] ghc-8.2: users guide: Rephrasing (efc6073)

git at git.haskell.org git at git.haskell.org
Mon Jun 26 22:25:34 UTC 2017


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

On branch  : ghc-8.2
Link       : http://ghc.haskell.org/trac/ghc/changeset/efc6073c31cc7065b5016f3c041d1f578c763b63/ghc

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

commit efc6073c31cc7065b5016f3c041d1f578c763b63
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Fri Jun 23 16:34:49 2017 -0400

    users guide: Rephrasing
    
    (cherry picked from commit a48464a7d2858bad28cfd1f393e82589825e62db)


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

efc6073c31cc7065b5016f3c041d1f578c763b63
 docs/users_guide/glasgow_exts.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst
index ecd1ebd..c738862 100644
--- a/docs/users_guide/glasgow_exts.rst
+++ b/docs/users_guide/glasgow_exts.rst
@@ -8862,9 +8862,9 @@ the :ghc-flag:`-XTypeApplications` flag to specify the types. For example: ::
 Here ``a`` is ambiguous in the definition of ``D`` but later specified
 to be `Int` using type applications.
 
-So the language extension :ghc-flag:`-XAllowAmbiguousTypes` allows you to
-switch off the ambiguity check.  But even with ambiguity checking switched off,
-GHC will complain about a function that can *never* be called, such as this one: ::
+:ghc-flag:`-XAllowAmbiguousTypes` allows you to switch off the ambiguity check.
+However, even with ambiguity checking switched off, GHC will complain about a
+function that can *never* be called, such as this one: ::
 
       f :: (Int ~ Bool) => a -> a
 



More information about the ghc-commits mailing list