summaryrefslogtreecommitdiff
path: root/libraries/base
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-01-05 11:41:44 +0100
committerGabor Greif <ggreif@gmail.com>2017-01-09 16:26:25 +0100
commita8a714ea6787f5717ca3ddf0f81ebba8d7ccca4d (patch)
treeb65d0e13c92aba0d9a5b34b6df3d9165c5cbee65 /libraries/base
parent7d2e5da61714025142f0085d5ae150a61e637a5e (diff)
downloadhaskell-a8a714ea6787f5717ca3ddf0f81ebba8d7ccca4d.tar.gz
Typos in comments (and in a test)
Diffstat (limited to 'libraries/base')
-rw-r--r--libraries/base/Data/Traversable.hs2
-rw-r--r--libraries/base/GHC/Event/PSQ.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/Data/Traversable.hs b/libraries/base/Data/Traversable.hs
index c166db5035..e525ba3231 100644
--- a/libraries/base/Data/Traversable.hs
+++ b/libraries/base/Data/Traversable.hs
@@ -208,7 +208,7 @@ that's all! We get
$fTraversable[]_$cmapM = ...code for traverse on lists...
with NO INLINE pragma! This happens even though 'traverse' had an
-INLINE pragma becuase the author knew it should be inlined pretty
+INLINE pragma because the author knew it should be inlined pretty
vigorously.
Indeed, it turned out that the rhs of $cmapM was just too big to
diff --git a/libraries/base/GHC/Event/PSQ.hs b/libraries/base/GHC/Event/PSQ.hs
index 311265fd80..b03bc9ce76 100644
--- a/libraries/base/GHC/Event/PSQ.hs
+++ b/libraries/base/GHC/Event/PSQ.hs
@@ -89,7 +89,7 @@ module GHC.Event.PSQ
) where
import GHC.Base hiding (empty)
-import GHC.Float () -- for Show Double instasnce
+import GHC.Float () -- for Show Double instance
import GHC.Num (Num(..))
import GHC.Show (Show(showsPrec))
import GHC.Event.Unique (Unique)