summaryrefslogtreecommitdiff
path: root/compiler/hsSyn/HsUtils.lhs
diff options
context:
space:
mode:
authorsimonpj@microsoft.com <unknown>2010-05-25 11:40:01 +0000
committersimonpj@microsoft.com <unknown>2010-05-25 11:40:01 +0000
commit40612c9014ef04806cd341a12cf010db51eca2e3 (patch)
tree22515b5bc32a5e7f8a2ebb7af1c40a2971e7ae27 /compiler/hsSyn/HsUtils.lhs
parent786932468faac49aafe20b65eabc8bdf465fbc9d (diff)
downloadhaskell-40612c9014ef04806cd341a12cf010db51eca2e3.tar.gz
Spelling in comments
Diffstat (limited to 'compiler/hsSyn/HsUtils.lhs')
-rw-r--r--compiler/hsSyn/HsUtils.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/hsSyn/HsUtils.lhs b/compiler/hsSyn/HsUtils.lhs
index 0e4b0dbb38..cfd2799bc8 100644
--- 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)