summaryrefslogtreecommitdiff
path: root/libraries/ghc-compact
diff options
context:
space:
mode:
authorTakenobu Tani <takenobu.hs@gmail.com>2017-05-04 14:16:49 -0400
committerBen Gamari <ben@smart-cactus.org>2017-05-04 18:20:44 -0400
commit4fcaf8e97db89b0c040ca33f0503faf3403b918f (patch)
treef57afee09bb6a27769cb43de607cd86830116255 /libraries/ghc-compact
parent0b41bbcdef5f690e6a8f549787775a52e6b70c5b (diff)
downloadhaskell-4fcaf8e97db89b0c040ca33f0503faf3403b918f.tar.gz
Fix comment for compact region
There were old module names: * Data.Compact -> GHC.Compact * Data.Compact.Internal -> GHC.Compact This commit is for ghc-8.2 branch. Test Plan: build Reviewers: austin, bgamari, hvr, erikd, simonmar Reviewed By: bgamari Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3522
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 ea0663e889..375e341adf 100644
--- a/libraries/ghc-compact/GHC/Compact.hs
+++ b/libraries/ghc-compact/GHC/Compact.hs
@@ -104,12 +104,12 @@ import GHC.Types
--
-- The cost of compaction is similar to the cost of GC for the same
-- data, but it is performed only once. However, because
--- "Data.Compact.compact" does not stop-the-world, retaining internal
+-- "GHC.Compact.compact" does not stop-the-world, retaining internal
-- sharing during the compaction process is very costly. The user
-- 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
+-- in the region using "GHC.Compact.getCompact". The 'Compact' type
-- serves as handle on the region itself; you can use this handle
-- to add data to a specific 'Compact' with 'compactAdd' or
-- 'compactAddWithSharing' (giving you a new handle which corresponds