[commit: ghc] master: Typos in comments (b1888aa)

git at git.haskell.org git at git.haskell.org
Thu Jun 19 21:20:53 UTC 2014


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

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

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

commit b1888aae3a506bbf7eb13dffac14c34093161a3f
Author: Gabor Greif <ggreif at gmail.com>
Date:   Thu Jun 19 23:19:54 2014 +0200

    Typos in comments


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

b1888aae3a506bbf7eb13dffac14c34093161a3f
 libraries/base/GHC/Event/TimerManager.hs                 | 2 +-
 libraries/template-haskell/Language/Haskell/TH/Syntax.hs | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libraries/base/GHC/Event/TimerManager.hs b/libraries/base/GHC/Event/TimerManager.hs
index f94f061..f581330 100644
--- a/libraries/base/GHC/Event/TimerManager.hs
+++ b/libraries/base/GHC/Event/TimerManager.hs
@@ -98,7 +98,7 @@ become roots for all subsequent minor GCs.
 When the thunks eventually get evaluated they will each create a new
 intermediate 'TimeoutQueue' that immediately becomes garbage.  Since
 the thunks serve as roots until the next major GC these intermediate
-'TimeoutQueue's will get copied unnecesarily in the next minor GC,
+'TimeoutQueue's will get copied unnecessarily in the next minor GC,
 increasing GC time.  This problem is known as "floating garbage".
 
 Keeping a list of edits doesn't stop this from happening but makes the
diff --git a/libraries/template-haskell/Language/Haskell/TH/Syntax.hs b/libraries/template-haskell/Language/Haskell/TH/Syntax.hs
index 589c66a..3172cbb 100644
--- a/libraries/template-haskell/Language/Haskell/TH/Syntax.hs
+++ b/libraries/template-haskell/Language/Haskell/TH/Syntax.hs
@@ -369,7 +369,7 @@ location = Q qLocation
 -- a single 'Q' computation, but not about the order in which splices are run.
 --
 -- Note: for various murky reasons, stdout and stderr handles are not
--- necesarily flushed when the  compiler finishes running, so you should
+-- necessarily flushed when the compiler finishes running, so you should
 -- flush them yourself.
 runIO :: IO a -> Q a
 runIO m = Q (qRunIO m)



More information about the ghc-commits mailing list