summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2016-06-27 09:50:37 +0000
committerÖmer Sinan Ağacan <omeragacan@gmail.com>2016-06-27 09:50:37 +0000
commit60c24b26231e1295321f86445b000c7199d73838 (patch)
treeb091c785b11ae658290f887ca434ef9a06f3099d
parent82282e8dc0599c105996fe2071b5439d50323225 (diff)
downloadhaskell-60c24b26231e1295321f86445b000c7199d73838.tar.gz
Typos in user manual and code: recurisve -> recursive
-rw-r--r--compiler/typecheck/TcInstDcls.hs2
-rw-r--r--compiler/typecheck/TcSimplify.hs2
-rw-r--r--docs/users_guide/glasgow_exts.rst2
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler/typecheck/TcInstDcls.hs b/compiler/typecheck/TcInstDcls.hs
index 315aa921ec..d4cc023740 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 18adee8047..a2e306df3b 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 95f1a0bd09..45b0d1c256 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