summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2014-06-19 23:19:54 +0200
committerGabor Greif <ggreif@gmail.com>2014-06-19 23:19:54 +0200
commitb1888aae3a506bbf7eb13dffac14c34093161a3f (patch)
tree62d5a8ed608ab85009fe44388a36b7f1c6dbfc7e /libraries
parenta52bf967bbdc5698bb1e4014de2cee9dee494f50 (diff)
downloadhaskell-b1888aae3a506bbf7eb13dffac14c34093161a3f.tar.gz
Typos in comments
Diffstat (limited to 'libraries')
-rw-r--r--libraries/base/GHC/Event/TimerManager.hs2
-rw-r--r--libraries/template-haskell/Language/Haskell/TH/Syntax.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/GHC/Event/TimerManager.hs b/libraries/base/GHC/Event/TimerManager.hs
index f94f06148a..f581330e25 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 589c66a530..3172cbbced 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)