projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7869324
)
Spelling in comments
author
simonpj@microsoft.com
<unknown>
Tue, 25 May 2010 11:40:01 +0000
(11:40 +0000)
committer
simonpj@microsoft.com
<unknown>
Tue, 25 May 2010 11:40:01 +0000
(11:40 +0000)
compiler/hsSyn/HsUtils.lhs
patch
|
blob
|
history
diff --git
a/compiler/hsSyn/HsUtils.lhs
b/compiler/hsSyn/HsUtils.lhs
index
0e4b0db
..
cfd2799
100644
(file)
--- a/
compiler/hsSyn/HsUtils.lhs
+++ b/
compiler/hsSyn/HsUtils.lhs
@@
-427,7
+427,7
@@
it should return [x, y, f, a, b] (remember, order important).
Note [Collect binders only after renaming]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
These functions should only be used on HsSyn *after* the renamer,
-to reuturn a [Name] or [Id]. Before renaming the record punning
+to return a [Name] or [Id]. Before renaming the record punning
and wild-card mechanism makes it hard to know what is bound.
So these functions should not be applied to (HsSyn RdrName)