summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2014-04-24 12:27:50 +0200
committerGabor Greif <ggreif@gmail.com>2014-04-24 12:37:23 +0200
commit4ceb5dec42ff8d17e24ed80d0265eb8fb60dd804 (patch)
treefe2881671e555c4d6b35b17f5380e368d0117eb0
parent79e46aea1643b4dfdc7c846bbefe06b83b535efd (diff)
downloadhaskell-4ceb5dec42ff8d17e24ed80d0265eb8fb60dd804.tar.gz
Some typos in comments
-rw-r--r--compiler/simplCore/SimplUtils.lhs2
-rw-r--r--compiler/typecheck/TcDefaults.lhs2
-rw-r--r--testsuite/tests/perf/should_run/T149_A.hs2
-rw-r--r--testsuite/tests/perf/should_run/T149_B.hs2
4 files changed, 4 insertions, 4 deletions
diff --git a/compiler/simplCore/SimplUtils.lhs b/compiler/simplCore/SimplUtils.lhs
index a3042a7194..59e5d4adc1 100644
--- a/compiler/simplCore/SimplUtils.lhs
+++ b/compiler/simplCore/SimplUtils.lhs
@@ -1208,7 +1208,7 @@ tryEtaExpandRhs env bndr rhs
, let new_arity1 = findRhsArity dflags bndr rhs old_arity
new_arity2 = idCallArity bndr
new_arity = max new_arity1 new_arity2
- , new_arity > old_arity -- And the curent manifest arity isn't enough
+ , new_arity > old_arity -- And the current manifest arity isn't enough
= do { tick (EtaExpansion bndr)
; return (new_arity, etaExpand new_arity rhs) }
| otherwise
diff --git a/compiler/typecheck/TcDefaults.lhs b/compiler/typecheck/TcDefaults.lhs
index d05a9485f8..a096e506ed 100644
--- a/compiler/typecheck/TcDefaults.lhs
+++ b/compiler/typecheck/TcDefaults.lhs
@@ -39,7 +39,7 @@ tcDefaults :: [LDefaultDecl Name]
tcDefaults []
= getDeclaredDefaultTys -- No default declaration, so get the
-- default types from the envt;
- -- i.e. use the curent ones
+ -- i.e. use the current ones
-- (the caller will put them back there)
-- It's important not to return defaultDefaultTys here (which
-- we used to do) because in a TH program, tcDefaults [] is called
diff --git a/testsuite/tests/perf/should_run/T149_A.hs b/testsuite/tests/perf/should_run/T149_A.hs
index dc24f4c13c..22ec276ebc 100644
--- a/testsuite/tests/perf/should_run/T149_A.hs
+++ b/testsuite/tests/perf/should_run/T149_A.hs
@@ -2,7 +2,7 @@ module Main (main) where
-- See Trac #149
--- Curently (with GHC 7.0) the CSE works, just,
+-- Currently (with GHC 7.0) the CSE works, just,
-- but it's delicate.
diff --git a/testsuite/tests/perf/should_run/T149_B.hs b/testsuite/tests/perf/should_run/T149_B.hs
index ef5b9c56bb..514fd16a9c 100644
--- a/testsuite/tests/perf/should_run/T149_B.hs
+++ b/testsuite/tests/perf/should_run/T149_B.hs
@@ -2,7 +2,7 @@ module Main (main) where
-- See Trac #149
--- Curently (with GHC 7.0) the CSE works, just,
+-- Currently (with GHC 7.0) the CSE works, just,
-- but it's delicate.