[commit: ghc] master: Typos in comments (2d82846)

git at git.haskell.org git at git.haskell.org
Wed Mar 5 20:14:15 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/2d828460a6e378f85f16677da0ea5c20c4a88e96/ghc

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

commit 2d828460a6e378f85f16677da0ea5c20c4a88e96
Author: Gabor Greif <ggreif at gmail.com>
Date:   Wed Mar 5 21:13:31 2014 +0100

    Typos in comments


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

2d828460a6e378f85f16677da0ea5c20c4a88e96
 compiler/coreSyn/CoreArity.lhs |    2 +-
 ghc/Main.hs                    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/coreSyn/CoreArity.lhs b/compiler/coreSyn/CoreArity.lhs
index 2c7cd83..080a6fd 100644
--- a/compiler/coreSyn/CoreArity.lhs
+++ b/compiler/coreSyn/CoreArity.lhs
@@ -325,7 +325,7 @@ this transformation.  So we try to limit it as much as possible:
 
  (3) Do NOT move a lambda outside a case unless 
      (a) The scrutinee is ok-for-speculation, or
-     (b) more liberally: the scrunitee is cheap and -fpedantic-bottoms is not
+     (b) more liberally: the scrutinee is cheap and -fpedantic-bottoms is not
          enforced
 
 Of course both (1) and (2) are readily defeated by disguising the bottoms.
diff --git a/ghc/Main.hs b/ghc/Main.hs
index 481e7df..46b0970 100644
--- a/ghc/Main.hs
+++ b/ghc/Main.hs
@@ -835,7 +835,7 @@ the GC stats. As a result, this breaks things like `:set +s` in GHCi
 (#8754). As a hacky workaround, we instead call 'defaultHooks'
 directly to initalize the flags in the RTS.
 
-A biproduct of this, I believe, is that hooks are likely broken on OS
+A byproduct of this, I believe, is that hooks are likely broken on OS
 X when dynamically linking. But this probably doesn't affect most
 people since we're linking GHC dynamically, but most things themselves
 link statically.



More information about the ghc-commits mailing list