[commit: ghc] master: Typos in non-code (3197018)

git at git.haskell.org git at git.haskell.org
Mon Mar 2 18:27:22 UTC 2015


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

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

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

commit 3197018d4efbf7407577300b88897cef26f7f4c6
Author: Gabor Greif <ggreif at gmail.com>
Date:   Mon Mar 2 19:28:36 2015 +0100

    Typos in non-code


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

3197018d4efbf7407577300b88897cef26f7f4c6
 compiler/typecheck/TcInstDcls.hs  | 2 +-
 docs/users_guide/glasgow_exts.xml | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/compiler/typecheck/TcInstDcls.hs b/compiler/typecheck/TcInstDcls.hs
index 9b07554..5ee6479 100644
--- a/compiler/typecheck/TcInstDcls.hs
+++ b/compiler/typecheck/TcInstDcls.hs
@@ -973,7 +973,7 @@ Notice that
 
    This is a bit of a hack, but works very nicely in practice.
 
- * Note that if a method has a locally-polymorhic binding, there will
+ * Note that if a method has a locally-polymorphic binding, there will
    be yet another implication for that, generated by tcPolyCheck
    in tcMethodBody. E.g.
           class C a where
diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index 7bb2f68..edfdc84 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -6679,8 +6679,8 @@ level of the signature for <literal>f1</literal>.
 But in the case of of <literal>f2</literal> we give a kind annotation in the <literal>forall (a:k)</literal>
 binding, and GHC therefore puts the kind <literal>forall</literal> right there too.
 This design decision makes default case (<literal>f1</literal>)
-as polymorphic as possible; remember that a <emphasis>more</emphasis> polymorhic argument type (as in <literal>f2</literal>
-makes the overall function <emphasis>less</emphasis> polymorphic, because there are fewer accepable arguments.
+as polymorphic as possible; remember that a <emphasis>more</emphasis> polymorphic argument type (as in <literal>f2</literal>
+makes the overall function <emphasis>less</emphasis> polymorphic, because there are fewer acceptable arguments.
 </para></listitem>
 </itemizedlist>
 </para>



More information about the ghc-commits mailing list