[commit: ghc] master: user-guide: fix links to compact region (0b41bbc)

git at git.haskell.org git at git.haskell.org
Thu May 4 22:22:49 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/0b41bbcdef5f690e6a8f549787775a52e6b70c5b/ghc

>---------------------------------------------------------------

commit 0b41bbcdef5f690e6a8f549787775a52e6b70c5b
Author: Takenobu Tani <takenobu.hs at gmail.com>
Date:   Thu May 4 14:16:32 2017 -0400

    user-guide: fix links to compact region
    
    There were broken links in users_guide for compact region.
    
      * Data-Compact -> GHC-Compact
      * compact- at LIBRARY_compact_VERSION@ ->
    ghc-compact- at 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


>---------------------------------------------------------------

0b41bbcdef5f690e6a8f549787775a52e6b70c5b
 docs/users_guide/8.2.1-notes.rst  | 4 ++--
 docs/users_guide/ghc_config.py.in | 2 +-
 docs/users_guide/sooner.rst       | 2 +-
 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 3b1a1f1..57c22a3 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 e2783e4..6711c6b 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- at LIBRARY_base_VERSION@/%s', ''),
     'cabal-ref': ('../libraries/Cabal- at LIBRARY_Cabal_VERSION@/%s', ''),
-    'compact-ref': ('../libraries/compact- at LIBRARY_compact_VERSION@/%s', ''),
+    'compact-ref': ('../libraries/ghc-compact- at LIBRARY_compact_VERSION@/%s', ''),
     'ghc-prim-ref': ('../libraries/ghc-prim- at 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 702648f..48958d6 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



More information about the ghc-commits mailing list