debug-dump 0.1.0.0 → 0.1.0.1
raw patch · 3 files changed
+8/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- debug-dump.cabal +1/−1
- src/Debug/Trace/Dump.hs +3/−3
CHANGELOG.md view
@@ -1,5 +1,9 @@ # debug-dump +## 0.1.0.1++ * Bug fix for strictness+ ## 0.1.0.0 Initial release
debug-dump.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.18 name: debug-dump-version: 0.1.0.0+version: 0.1.0.1 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2019 Vanessa McHale
src/Debug/Trace/Dump.hs view
@@ -12,12 +12,12 @@ traceFileBSL :: FilePath -> BSL.ByteString -> a -> a traceFileBSL fp bytes x = unsafePerformIO $- BSL.writeFile fp bytes $> x+ bytes `seq` BSL.writeFile fp bytes $> x traceFileText :: FilePath -> T.Text -> a -> a traceFileText fp txt x = unsafePerformIO $- TIO.writeFile fp txt $> x+ txt `seq` TIO.writeFile fp txt $> x traceFile :: FilePath -> String -> a -> a traceFile fp str x = unsafePerformIO $- writeFile fp str $> x+ str `seq` writeFile fp str $> x