ghc-datasize 0.2.0 → 0.2.1
raw patch · 2 files changed
+4/−4 lines, 2 filesdep ~ghc-heap-viewPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: ghc-heap-view
API changes (from Hackage documentation)
Files
- ghc-datasize.cabal +3/−3
- src/GHC/DataSize.hs +1/−1
ghc-datasize.cabal view
@@ -1,10 +1,10 @@ name: ghc-datasize-version: 0.2.0+version: 0.2.1 license: BSD3 license-file: LICENSE category: GHC, Debug, Development cabal-version: >= 1.10-build-type: Custom+build-type: Simple author: Dennis Felsing <dennis@felsin9.de> maintainer: Dennis Felsing <dennis@felsin9.de> homepage: http://felsin9.de/nnis/ghc-datasize@@ -22,7 +22,7 @@ Default-Language: Haskell2010 Build-depends: base == 4.*, deepseq >= 1.3 && < 1.5,- ghc-heap-view >= 0.5+ ghc-heap-view >= 0.6 Hs-source-dirs: src/ Ghc-options: -Wall
src/GHC/DataSize.hs view
@@ -80,7 +80,7 @@ else do size <- closureSize y closure <- getClosureData y- foldM go (b : vs, acc + size) $ allPtrs closure+ foldM go (b : vs, acc + size) $ allClosures closure -- | Calculate the recursive size of GHC objects in Bytes after calling -- Control.DeepSeq.force on the data structure to force it into Normal Form.