summaryrefslogtreecommitdiff
path: root/compiler/coreSyn
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-03-06 16:55:42 +0100
committerGabor Greif <ggreif@gmail.com>2017-03-06 16:55:42 +0100
commit749740f9c3cb25ee95e04a21c1ef73e1bf96afb1 (patch)
treec014979cef6e5f54378df7715b50548a95ef5ece /compiler/coreSyn
parentfb9ae288088a3eabc4e1bb4e86fa473a3881d2e2 (diff)
downloadhaskell-749740f9c3cb25ee95e04a21c1ef73e1bf96afb1.tar.gz
Typos in comments and manual
Diffstat (limited to 'compiler/coreSyn')
-rw-r--r--compiler/coreSyn/CoreUnfold.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/coreSyn/CoreUnfold.hs b/compiler/coreSyn/CoreUnfold.hs
index 5844eb999a..3a46d58089 100644
--- a/compiler/coreSyn/CoreUnfold.hs
+++ b/compiler/coreSyn/CoreUnfold.hs
@@ -768,7 +768,7 @@ funSize dflags top_args fun n_val_args voids
res_discount | idArity fun > n_val_args = ufFunAppDiscount dflags
| otherwise = 0
-- If the function is partially applied, show a result discount
--- XXX maybe behave like ConSize for eval'd varaible
+-- XXX maybe behave like ConSize for eval'd variable
conSize :: DataCon -> Int -> ExprSize
conSize dc n_val_args