summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFangyi Zhou <fangyi.zhou15@imperial.ac.uk>2018-10-25 10:16:48 +0300
committerÖmer Sinan Ağacan <omeragacan@gmail.com>2018-10-25 10:20:00 +0300
commit49c7a51ef614068ba664422c48e97d3ec76178a5 (patch)
tree3661d1d2be7eb18050d58817a458ca9e66164ade
parent9aaa8971de7e8438ec0854d198f22385e1687076 (diff)
downloadhaskell-49c7a51ef614068ba664422c48e97d3ec76178a5.tar.gz
Fix some broken links (#15733)
Change some URLs from hackage.haskell.org/trac to ghc.haskell.org/trac Test Plan: manually verify links work Reviewers: bgamari, simonmar, mpickering Reviewed By: bgamari, mpickering Subscribers: mpickering, rwbarton, carter GHC Trac Issues: #15733 Differential Revision: https://phabricator.haskell.org/D5257
-rw-r--r--INSTALL.md2
-rw-r--r--compiler/codeGen/StgCmmHeap.hs2
-rw-r--r--libraries/ghc-heap/GHC/Exts/Heap/Closures.hs2
-rw-r--r--libraries/ghc-heap/GHC/Exts/Heap/InfoTable/Types.hsc2
4 files changed, 4 insertions, 4 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 42bbc1e63d..3ab14df088 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -44,5 +44,5 @@ References
==========
[1] http://www.haskell.org/ghc/
- [2] http://hackage.haskell.org/trac/ghc/wiki/Building/Preparation
+ [2] http://ghc.haskell.org/trac/ghc/wiki/Building/Preparation
[3] http://www.haskell.org/haddock/
diff --git a/compiler/codeGen/StgCmmHeap.hs b/compiler/codeGen/StgCmmHeap.hs
index 3be35b35fa..3b170eb3a1 100644
--- a/compiler/codeGen/StgCmmHeap.hs
+++ b/compiler/codeGen/StgCmmHeap.hs
@@ -519,7 +519,7 @@ heapCheck checkStack checkYield do_gc code
[" Trying to allocate more than "++show mBLOCK_SIZE++" bytes.",
"",
"This is currently not possible due to a limitation of GHC's code generator.",
- "See http://hackage.haskell.org/trac/ghc/ticket/4505 for details.",
+ "See http://ghc.haskell.org/trac/ghc/ticket/4505 for details.",
"Suggestion: read data from a file instead of having large static data",
"structures in code."]
| hpHw > 0 = Just (mkIntExpr dflags (hpHw * (wORD_SIZE dflags)))
diff --git a/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs b/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs
index facb801a97..a3f9b9729e 100644
--- a/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs
+++ b/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs
@@ -94,7 +94,7 @@ areBoxesEqual (Box a) (Box b) = case reallyUnsafePtrEqualityUpToTag# a b of
type Closure = GenClosure Box
-- | This is the representation of a Haskell value on the heap. It reflects
--- <http://hackage.haskell.org/trac/ghc/browser/includes/rts/storage/Closures.h>
+-- <http://ghc.haskell.org/trac/ghc/browser/includes/rts/storage/Closures.h>
--
-- The data type is parametrized by the type to store references in. Usually
-- this is a 'Box' with the type synonym 'Closure'.
diff --git a/libraries/ghc-heap/GHC/Exts/Heap/InfoTable/Types.hsc b/libraries/ghc-heap/GHC/Exts/Heap/InfoTable/Types.hsc
index 9a19360183..9c7c392adc 100644
--- a/libraries/ghc-heap/GHC/Exts/Heap/InfoTable/Types.hsc
+++ b/libraries/ghc-heap/GHC/Exts/Heap/InfoTable/Types.hsc
@@ -28,7 +28,7 @@ type HalfWord = Word16
type EntryFunPtr = FunPtr (Ptr () -> IO (Ptr ()))
-- | This is a somewhat faithful representation of an info table. See
--- <http://hackage.haskell.org/trac/ghc/browser/includes/rts/storage/InfoTables.h>
+-- <http://ghc.haskell.org/trac/ghc/browser/includes/rts/storage/InfoTables.h>
-- for more details on this data structure.
data StgInfoTable = StgInfoTable {
entry :: Maybe EntryFunPtr, -- Just <=> not ghciTablesNextToCode