summaryrefslogtreecommitdiff
path: root/libraries/ghc-compact
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-03-06 16:55:42 +0100
committerGabor Greif <ggreif@gmail.com>2017-03-06 16:55:42 +0100
commit749740f9c3cb25ee95e04a21c1ef73e1bf96afb1 (patch)
treec014979cef6e5f54378df7715b50548a95ef5ece /libraries/ghc-compact
parentfb9ae288088a3eabc4e1bb4e86fa473a3881d2e2 (diff)
downloadhaskell-749740f9c3cb25ee95e04a21c1ef73e1bf96afb1.tar.gz
Typos in comments and manual
Diffstat (limited to 'libraries/ghc-compact')
-rw-r--r--libraries/ghc-compact/GHC/Compact.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/ghc-compact/GHC/Compact.hs b/libraries/ghc-compact/GHC/Compact.hs
index e3efaf24bc..d9581a521e 100644
--- a/libraries/ghc-compact/GHC/Compact.hs
+++ b/libraries/ghc-compact/GHC/Compact.hs
@@ -30,7 +30,7 @@
-- dump the memory to disk and/or send it over the network.
-- For applications that are not bandwidth bound (GHC's heap
-- representation can be as much of a x4 expansion over a
--- binary serialization), this can lead to substantial speed ups.
+-- binary serialization), this can lead to substantial speedups.
--
-- For example, suppose you have a function @loadBigStruct :: IO BigStruct@,
-- which loads a large data structure from the file system. You can "compact"
@@ -106,7 +106,7 @@ import GHC.Types
-- data, but it is perfomed only once. However, because
-- "Data.Compact.compact" does not stop-the-world, retaining internal
-- sharing during the compaction process is very costly. The user
--- can choose wether to 'compact' or 'compactWithSharing'.
+-- can choose whether to 'compact' or 'compactWithSharing'.
--
-- When you have a @'Compact' a@, you can get a pointer to the actual object
-- in the region using "Data.Compact.getCompact". The 'Compact' type