[commit: ghc] ghc-8.2: user-guide: fix links to compact region (a200ff6)

git at git.haskell.org git at git.haskell.org
Fri May 5 02:54:43 UTC 2017


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

On branch  : ghc-8.2
Link       : http://ghc.haskell.org/trac/ghc/changeset/a200ff64eda6a3c4f58c52be4e7f22bfb8b5393c/ghc

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

commit a200ff64eda6a3c4f58c52be4e7f22bfb8b5393c
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
    
    (cherry picked from commit 0b41bbcdef5f690e6a8f549787775a52e6b70c5b)


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

a200ff64eda6a3c4f58c52be4e7f22bfb8b5393c
 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 d4b7045..3cf3833 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