summaryrefslogtreecommitdiff
path: root/compiler/rename/RnNames.hs
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-07-17 15:35:59 +0200
committerGabor Greif <ggreif@gmail.com>2017-07-18 14:08:22 +0200
commit935acb6f0de36822b46f8444199dbc37de784af4 (patch)
treeb6f25cebe2dd1f4cf3a6b73ceabc3d6c487ddd05 /compiler/rename/RnNames.hs
parent12ae1fa51b2f59e37d6100359b494bee2192ef0a (diff)
downloadhaskell-935acb6f0de36822b46f8444199dbc37de784af4.tar.gz
Typos in comments and explanation for unusused imports
Diffstat (limited to 'compiler/rename/RnNames.hs')
-rw-r--r--compiler/rename/RnNames.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rename/RnNames.hs b/compiler/rename/RnNames.hs
index 6dc9f1d0d2..6197bc7480 100644
--- a/compiler/rename/RnNames.hs
+++ b/compiler/rename/RnNames.hs
@@ -762,7 +762,7 @@ The situation is made more complicated by associated types. E.g.
Then M's export_avails are (recall the AvailTC invariant from Avails.hs)
C(C,T), T(T,T1,T2,T3)
Notice that T appears *twice*, once as a child and once as a parent. From
-this list we construt a raw list including
+this list we construct a raw list including
T -> (T, T( T1, T2, T3 ), Nothing)
T -> (C, C( C, T ), Nothing)
and we combine these (in function 'combine' in 'imp_occ_env' in
@@ -1228,7 +1228,7 @@ warnMissingSignatures gbl_env
{-
Note [The ImportMap]
~~~~~~~~~~~~~~~~~~~~
-The ImportMap is a short-lived intermediate data struture records, for
+The ImportMap is a short-lived intermediate data structure records, for
each import declaration, what stuff brought into scope by that
declaration is actually used in the module.