[commit: ghc] master: Typos in user manual and code: recurisve -> recursive (60c24b2)

git at git.haskell.org git at git.haskell.org
Mon Jun 27 09:47:36 UTC 2016


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

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

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

commit 60c24b26231e1295321f86445b000c7199d73838
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date:   Mon Jun 27 09:50:37 2016 +0000

    Typos in user manual and code: recurisve -> recursive


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

60c24b26231e1295321f86445b000c7199d73838
 compiler/typecheck/TcInstDcls.hs  | 2 +-
 compiler/typecheck/TcSimplify.hs  | 2 +-
 docs/users_guide/glasgow_exts.rst | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/compiler/typecheck/TcInstDcls.hs b/compiler/typecheck/TcInstDcls.hs
index 315aa92..d4cc023 100644
--- a/compiler/typecheck/TcInstDcls.hs
+++ b/compiler/typecheck/TcInstDcls.hs
@@ -142,7 +142,7 @@ Note [Instances and loop breakers]
 
 * Instead the idea is to inline df_i into op1_i, which may then select
   methods from the MkC record, and thereby break the recursion with
-  df_i, leaving a *self*-recurisve op1_i.  (If op1_i doesn't call op at
+  df_i, leaving a *self*-recursive op1_i.  (If op1_i doesn't call op at
   the same type, it won't mention df_i, so there won't be recursion in
   the first place.)
 
diff --git a/compiler/typecheck/TcSimplify.hs b/compiler/typecheck/TcSimplify.hs
index 18adee8..a2e306d 100644
--- a/compiler/typecheck/TcSimplify.hs
+++ b/compiler/typecheck/TcSimplify.hs
@@ -480,7 +480,7 @@ signature
 where F is a type function.  This happened in Trac #3972.
 
 We could do more than once but we'd have to have /some/ limit: in the
-the recurisve case, we would go on forever in the common case where
+the recursive case, we would go on forever in the common case where
 the constraints /are/ satisfiable (Trac #10592 comment:12!).
 
 For stratightforard situations without type functions the try_harder
diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst
index 95f1a0b..45b0d1c 100644
--- a/docs/users_guide/glasgow_exts.rst
+++ b/docs/users_guide/glasgow_exts.rst
@@ -11376,7 +11376,7 @@ obfuscates matters, so we do not do so here.)
 
 The translation is carefully crafted to make bang patterns meaningful
 for reursive and polymorphic bindings as well as straightforward
-non-recurisve bindings.
+non-recursive bindings.
 
 Here are some examples of how this translation works. The first
 expression of each sequence is Haskell source; the subsequent ones are



More information about the ghc-commits mailing list