[commit: ghc] master: Catch some typos (a8cba19)

git at git.haskell.org git at git.haskell.org
Mon May 19 20:52:53 UTC 2014


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

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

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

commit a8cba196e9d651571c4902706b73ab0c591dc335
Author: Gabor Greif <ggreif at gmail.com>
Date:   Mon May 19 19:42:07 2014 +0200

    Catch some typos


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

a8cba196e9d651571c4902706b73ab0c591dc335
 docs/users_guide/glasgow_exts.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index e2513c2..7872a88 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -8145,11 +8145,11 @@ g x = let h y = f y * 2
       in  h x + k x
 </programlisting>
 Here <literal>f</literal> is generalised because it has no free variables; and its binding group
-in unaffected by the monomorphism restriction; and hence <literal>f</literal> is closed.
+is unaffected by the monomorphism restriction; and hence <literal>f</literal> is closed.
 The same reasoning applies to <literal>g</literal>, except that it has one closed free variable, namely <literal>f</literal>.
 Similarly <literal>h</literal> is closed, <emphasis>even though it is not bound at top level</emphasis>,
 because its only free variable <literal>f</literal> is closed.
-But <literal>k</literal> is not closed because it mentions <literal>x</literal> which is not closed (because it is no let-bound).
+But <literal>k</literal> is not closed, because it mentions <literal>x</literal> which is not closed (because it is not let-bound).
 </para>
 <para>
 Notice that a top-level binding that is affected by the monomorphism restriction is not closed, and hence may



More information about the ghc-commits mailing list