[commit: ghc] wip/erikd/heapview: heapview: Move HeadView.hs to GHC.Exts (01c4b25)
git at git.haskell.org
git at git.haskell.org
Sun Jan 29 09:53:33 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/erikd/heapview
Link : http://ghc.haskell.org/trac/ghc/changeset/01c4b2566ae24b53cd84f5c29b83895a8f8b30c1/ghc
>---------------------------------------------------------------
commit 01c4b2566ae24b53cd84f5c29b83895a8f8b30c1
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date: Sun Jan 29 20:36:54 2017 +1100
heapview: Move HeadView.hs to GHC.Exts
>---------------------------------------------------------------
01c4b2566ae24b53cd84f5c29b83895a8f8b30c1
libraries/heapview/GHC/{ => Exts}/HeapView.hs | 2 +-
libraries/heapview/GHC/{ => Exts}/HeapView/Debug.hs | 4 ++--
libraries/heapview/heapview.cabal | 4 ++--
libraries/heapview/tests/heapview_all.hs | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/libraries/heapview/GHC/HeapView.hs b/libraries/heapview/GHC/Exts/HeapView.hs
similarity index 99%
rename from libraries/heapview/GHC/HeapView.hs
rename to libraries/heapview/GHC/Exts/HeapView.hs
index ca16852..92f61e0 100644
--- a/libraries/heapview/GHC/HeapView.hs
+++ b/libraries/heapview/GHC/Exts/HeapView.hs
@@ -10,7 +10,7 @@ values, i.e. to investigate sharing and lazy evaluation.
-}
-module GHC.HeapView (
+module GHC.Exts.HeapView (
-- * Heap data types
GenClosure(..),
Closure,
diff --git a/libraries/heapview/GHC/HeapView/Debug.hs b/libraries/heapview/GHC/Exts/HeapView/Debug.hs
similarity index 97%
rename from libraries/heapview/GHC/HeapView/Debug.hs
rename to libraries/heapview/GHC/Exts/HeapView/Debug.hs
index fc31d39..4821a21 100644
--- a/libraries/heapview/GHC/HeapView/Debug.hs
+++ b/libraries/heapview/GHC/Exts/HeapView/Debug.hs
@@ -1,7 +1,7 @@
-- | Utilities to debug "GHC.HeapView".
-module GHC.HeapView.Debug where
+module GHC.Exts.HeapView.Debug where
-import GHC.HeapView
+import GHC.Exts.HeapView
import Text.Printf
import System.IO
import Control.Monad
diff --git a/libraries/heapview/heapview.cabal b/libraries/heapview/heapview.cabal
index 1e5d419..73dbd41 100644
--- a/libraries/heapview/heapview.cabal
+++ b/libraries/heapview/heapview.cabal
@@ -43,5 +43,5 @@ library
ghc-options: -Wall
- exposed-modules: GHC.HeapView
- GHC.HeapView.Debug
+ exposed-modules: GHC.Exts.HeapView
+ GHC.Exts.HeapView.Debug
diff --git a/libraries/heapview/tests/heapview_all.hs b/libraries/heapview/tests/heapview_all.hs
index 645aa4d..962cb7b 100644
--- a/libraries/heapview/tests/heapview_all.hs
+++ b/libraries/heapview/tests/heapview_all.hs
@@ -2,7 +2,7 @@
{-# OPTIONS_GHC -Wall #-}
import GHC.Exts
-import GHC.HeapView
+import GHC.Exts.HeapView
import Control.DeepSeq
import System.Environment
More information about the ghc-commits
mailing list