[commit: ghc] master: users guide: Rephrasing (a48464a)
git at git.haskell.org
git at git.haskell.org
Fri Jun 23 20:35:17 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/a48464a7d2858bad28cfd1f393e82589825e62db/ghc
>---------------------------------------------------------------
commit a48464a7d2858bad28cfd1f393e82589825e62db
Author: Ben Gamari <ben at smart-cactus.org>
Date: Fri Jun 23 16:34:49 2017 -0400
users guide: Rephrasing
>---------------------------------------------------------------
a48464a7d2858bad28cfd1f393e82589825e62db
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 8846596..4a4f363 100644
--- a/docs/users_guide/glasgow_exts.rst
+++ b/docs/users_guide/glasgow_exts.rst
@@ -8957,9 +8957,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