ghc-heap-view 0.5.8 → 0.5.9
raw patch · 5 files changed
+6/−1 lines, 5 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- Test.hs +1/−0
- ghc-heap-view.cabal +1/−1
- src/GHC/AssertNF.hs +1/−0
- src/GHC/Disassembler.hs +2/−0
- src/GHC/HeapView/Debug.hs +1/−0
Test.hs view
@@ -5,6 +5,7 @@ import Control.DeepSeq import Control.Monad+import Control.Applicative (pure) import System.Environment import System.Mem
ghc-heap-view.cabal view
@@ -1,5 +1,5 @@ Name: ghc-heap-view-Version: 0.5.8+Version: 0.5.9 Synopsis: Extract the heap representation of Haskell values and thunks Description: This library provides functions to introspect the Haskell heap, for example
src/GHC/AssertNF.hs view
@@ -31,6 +31,7 @@ import Language.Haskell.TH (Q, Exp(AppE,VarE,LitE), Lit(StringL), Loc, location, loc_filename, loc_start, mkName) import Data.IORef import System.IO.Unsafe ( unsafePerformIO )+import Control.Applicative ((<$>)) enabledRef :: IORef Bool enabledRef = unsafePerformIO $ newIORef True
src/GHC/Disassembler.hs view
@@ -15,6 +15,8 @@ import Data.Bits import Data.Foldable ( Foldable ) import Data.Traversable ( Traversable )+import Control.Applicative ((<$>))+import Data.Monoid #include "ghcautoconf.h" #include "rts/Bytecodes.h"
src/GHC/HeapView/Debug.hs view
@@ -9,6 +9,7 @@ import Data.Maybe import Data.Char import Data.IORef+import Control.Applicative ((<$>)) -- | This function walks the heap referenced by the argument, printing the -- \"path\", i.e. the pointer indices from the initial to the current closure