Skip to content

Commit

Permalink
Typos in user manual and code: recurisve -> recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
osa1 committed Jun 27, 2016
1 parent 82282e8 commit 60c24b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compiler/typecheck/TcInstDcls.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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.)
Expand Down
2 changes: 1 addition & 1 deletion compiler/typecheck/TcSimplify.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/users_guide/glasgow_exts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 60c24b2

Please sign in to comment.