[commit: ghc] master: Spelling in comments (8408d84)

git at git.haskell.org git at git.haskell.org
Wed May 25 18:45:36 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/8408d84e18145ebab552331248af8093f9747d3c/ghc

>---------------------------------------------------------------

commit 8408d84e18145ebab552331248af8093f9747d3c
Author: Gabor Greif <ggreif at gmail.com>
Date:   Tue May 24 14:10:15 2016 +0200

    Spelling in comments


>---------------------------------------------------------------

8408d84e18145ebab552331248af8093f9747d3c
 compiler/simplCore/CSE.hs               | 2 +-
 compiler/typecheck/TcMType.hs           | 2 +-
 compiler/typecheck/TcType.hs            | 2 +-
 testsuite/tests/perf/compiler/T10547.hs | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/compiler/simplCore/CSE.hs b/compiler/simplCore/CSE.hs
index 0f87e82..f119f9f 100644
--- a/compiler/simplCore/CSE.hs
+++ b/compiler/simplCore/CSE.hs
@@ -224,7 +224,7 @@ This is a vanishingly strange corner case, but we still have
 to check.
 
 We do the check in cseRhs, but it can't fire when cseRhs is called
-from a let-binding, becuase they are always ok-for-speculation.  Never
+from a let-binding, because they are always ok-for-speculation.  Never
 mind!
 
 
diff --git a/compiler/typecheck/TcMType.hs b/compiler/typecheck/TcMType.hs
index 94c4947..ae5e031 100644
--- a/compiler/typecheck/TcMType.hs
+++ b/compiler/typecheck/TcMType.hs
@@ -893,7 +893,7 @@ quantifyZonkedTyVars gbl_tvs dvs@(DV{ dv_kvs = dep_tkvs, dv_tvs = nondep_tkvs })
                  --    dv_tvs which will also contain k
                  -- No worry about dependent covars here;
                  --    they are all in dep_tkvs
-                 -- No worry about scoping, becuase these are all
+                 -- No worry about scoping, because these are all
                  --    type variables
                  -- NB kinds of tvs are zonked by zonkTyCoVarsAndFV
 
diff --git a/compiler/typecheck/TcType.hs b/compiler/typecheck/TcType.hs
index ea4224d..3a469bc 100644
--- a/compiler/typecheck/TcType.hs
+++ b/compiler/typecheck/TcType.hs
@@ -895,7 +895,7 @@ arbitrary distinction based on how the variables appear:
 E.g.  In the type    T k (a::k)
       'k' is a kind variable, because it occurs in the kind of 'a',
           even though it also appears at "top level" of the type
-      'a' is a type variable, becuase it doesn't
+      'a' is a type variable, because it doesn't
 
 We gather these variables using a TcDepVars record:
   DV { dv_kvs: Variables free in the kind of a free type variable
diff --git a/testsuite/tests/perf/compiler/T10547.hs b/testsuite/tests/perf/compiler/T10547.hs
index 5501b3d..7a66750 100644
--- a/testsuite/tests/perf/compiler/T10547.hs
+++ b/testsuite/tests/perf/compiler/T10547.hs
@@ -1,4 +1,4 @@
--- Reported by sjcjoosten in T10547, this was taking forever becuase of a bug in
+-- Reported by sjcjoosten in T10547, this was taking forever because of a bug in
 -- the implementation. See bottom of the file for some notes.
 
 module Test where



More information about the ghc-commits mailing list