summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2016-05-23 10:46:26 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2016-05-24 09:50:28 +0100
commiteb8eb02bff129223783178fe36251eb69ff74079 (patch)
treeedb617af4fce648e97e31d99e2ff50752e1d7a12 /compiler
parent03d8960388d64f5d5c9617dd0e21555e9e987e26 (diff)
downloadhaskell-eb8eb02bff129223783178fe36251eb69ff74079.tar.gz
Spelling in comment
Diffstat (limited to 'compiler')
-rw-r--r--compiler/typecheck/FamInst.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/typecheck/FamInst.hs b/compiler/typecheck/FamInst.hs
index de1f3029dc..69a110061e 100644
--- a/compiler/typecheck/FamInst.hs
+++ b/compiler/typecheck/FamInst.hs
@@ -275,7 +275,7 @@ tcTopNormaliseNewTypeTF_maybe faminsts rdr_env ty
stepper = unwrap_newtype `composeSteppers` unwrap_newtype_instance
-- For newtype instances we take a double step or nothing, so that
- -- we don't return the reprsentation type of the newtype instance,
+ -- we don't return the representation type of the newtype instance,
-- which would lead to terrible error messages
unwrap_newtype_instance rec_nts tc tys
| Just (tc', tys', co) <- tcLookupDataFamInst_maybe faminsts tc tys