[commit: ghc] master: Fix typos: tyars -> tyvars (227a29d)

git at git.haskell.org git at git.haskell.org
Thu Apr 14 12:20:50 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/227a29d1cc1d4cf875ea5c7997493907137c0805/ghc

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

commit 227a29d1cc1d4cf875ea5c7997493907137c0805
Author: Bartosz Nitka <niteria at gmail.com>
Date:   Thu Apr 14 05:23:18 2016 -0700

    Fix typos: tyars -> tyvars


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

227a29d1cc1d4cf875ea5c7997493907137c0805
 compiler/main/InteractiveEval.hs | 2 +-
 compiler/typecheck/TcDeriv.hs    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/main/InteractiveEval.hs b/compiler/main/InteractiveEval.hs
index b609f8d..9e5f3b1 100644
--- a/compiler/main/InteractiveEval.hs
+++ b/compiler/main/InteractiveEval.hs
@@ -575,7 +575,7 @@ bindLocalsAtBreakpoint hsc_env apStack_fhv (Just BreakInfo{..}) = do
 
    newTyVars :: UniqSupply -> TcTyVarSet -> TCvSubst
      -- Similarly, clone the type variables mentioned in the types
-     -- we have here, *and* make them all RuntimeUnk tyars
+     -- we have here, *and* make them all RuntimeUnk tyvars
    newTyVars us tvs
      = mkTvSubstPrs [ (tv, mkTyVarTy (mkRuntimeUnkTyVar name (tyVarKind tv)))
                     | (tv, uniq) <- varSetElems tvs `zip` uniqsFromSupply us
diff --git a/compiler/typecheck/TcDeriv.hs b/compiler/typecheck/TcDeriv.hs
index bc194df..d3c9295 100644
--- a/compiler/typecheck/TcDeriv.hs
+++ b/compiler/typecheck/TcDeriv.hs
@@ -1636,7 +1636,7 @@ mkNewTypeEqn dflags overlap_mode tvs
         -- Here is the plan for newtype derivings.  We see
         --        newtype T a1...an = MkT (t ak+1...an) deriving (.., C s1 .. sm, ...)
         -- where t is a type,
-        --       ak+1...an is a suffix of a1..an, and are all tyars
+        --       ak+1...an is a suffix of a1..an, and are all tyvars
         --       ak+1...an do not occur free in t, nor in the s1..sm
         --       (C s1 ... sm) is a  *partial applications* of class C
         --                      with the last parameter missing



More information about the ghc-commits mailing list