[commit: ghc] master: Typos in docs [ci skip] (48f32a8)

git at git.haskell.org git at git.haskell.org
Fri Mar 6 13:44:44 UTC 2015


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

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

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

commit 48f32a84f1a8ae08feac80441667a5b38860f0f7
Author: Gabor Greif <ggreif at gmail.com>
Date:   Fri Mar 6 14:12:25 2015 +0100

    Typos in docs [ci skip]


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

48f32a84f1a8ae08feac80441667a5b38860f0f7
 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 118b629..d98445e 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -6727,7 +6727,7 @@ The general principle is this:
 infers the most polymorphic kind consistent with the right-hand side.</emphasis>
 Examples: ordinary data type and GADT declarations, class declarations.
 In the case of a class declaration the role of "right hand side" is played
-by the class moethod signatures.
+by the class method signatures.
 </para></listitem>
 <listitem><para>
 <emphasis>When there is no right hand side, GHC defaults argument and result kinds to <literal>*</literal>,
@@ -6742,7 +6742,7 @@ class C a where    -- Class declarations are generalised
                    -- so C :: forall k. k -> Constraint
   data D1 a        -- No right hand side for these two family 
   type F1 a        -- declarations, but the class forces (a :: k)
-                   -- so   D1, F1 :: D1 :: forall k. k -> *
+                   -- so   D1, F1 :: forall k. k -> *
 
 data D2 a   -- No right-hand side so D2 :: * -> *
 type F2 a   -- No right-hand side so F2 :: * -> *



More information about the ghc-commits mailing list