summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakenobu Tani <takenobu.hs@gmail.com>2017-05-04 14:16:32 -0400
committerBen Gamari <ben@smart-cactus.org>2017-05-04 18:20:44 -0400
commit0b41bbcdef5f690e6a8f549787775a52e6b70c5b (patch)
tree0c7c6ffb4929b92ebbdead4f890bd85a8bf381f0
parentdb10b79994f7728cbaaa906c6f6eda0b6783df29 (diff)
downloadhaskell-0b41bbcdef5f690e6a8f549787775a52e6b70c5b.tar.gz
user-guide: fix links to compact region
There were broken links in users_guide for compact region. * Data-Compact -> GHC-Compact * compact-@LIBRARY_compact_VERSION@ -> ghc-compact-@LIBRARY_compact_VERSION@ This commit is for ghc-8.2 branch. Test Plan: build Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3521
-rw-r--r--docs/users_guide/8.2.1-notes.rst4
-rw-r--r--docs/users_guide/ghc_config.py.in2
-rw-r--r--docs/users_guide/sooner.rst2
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/users_guide/8.2.1-notes.rst b/docs/users_guide/8.2.1-notes.rst
index 3b1a1f1896..57c22a37ef 100644
--- a/docs/users_guide/8.2.1-notes.rst
+++ b/docs/users_guide/8.2.1-notes.rst
@@ -281,8 +281,8 @@ Runtime system
move long-lived data outside of the heap so that the garbage
collector does not have to trace it repeatedly. Compacted data can
also be serialized, stored, and deserialized again later by the same
- program. For more details see the :compact-ref:`Data.Compact
- <Data-Compact.html>` module.
+ program. For more details see the :compact-ref:`GHC.Compact
+ <GHC-Compact.html>` module.
- There is new support for improving performance on machines with a
Non-Uniform Memory Architecture (NUMA). See :rts-flag:`--numa`.
diff --git a/docs/users_guide/ghc_config.py.in b/docs/users_guide/ghc_config.py.in
index e2783e4572..6711c6b560 100644
--- a/docs/users_guide/ghc_config.py.in
+++ b/docs/users_guide/ghc_config.py.in
@@ -1,7 +1,7 @@
extlinks = {
'base-ref': ('../libraries/base-@LIBRARY_base_VERSION@/%s', ''),
'cabal-ref': ('../libraries/Cabal-@LIBRARY_Cabal_VERSION@/%s', ''),
- 'compact-ref': ('../libraries/compact-@LIBRARY_compact_VERSION@/%s', ''),
+ 'compact-ref': ('../libraries/ghc-compact-@LIBRARY_compact_VERSION@/%s', ''),
'ghc-prim-ref': ('../libraries/ghc-prim-@LIBRARY_ghc_prim_VERSION@/%s', ''),
'ghc-ticket': ('http://ghc.haskell.org/trac/ghc/ticket/%s', 'Trac #'),
'ghc-wiki': ('http://ghc.haskell.org/trac/ghc/wiki/%s', 'Trac #'),
diff --git a/docs/users_guide/sooner.rst b/docs/users_guide/sooner.rst
index 702648fb91..48958d67c8 100644
--- a/docs/users_guide/sooner.rst
+++ b/docs/users_guide/sooner.rst
@@ -312,7 +312,7 @@ Use a bigger heap!
calculate a value based on the amount of live data.
Compact your data:
- The :compact-ref:`Data.Compact <Data-Compact.html>` module
+ The :compact-ref:`GHC.Compact <GHC-Compact.html>` module
provides a way to make garbage collection more efficient for
long-lived data structures. Compacting a data structure collects
the objects together in memory, where they are treated as a single