packages feed

debug-dump 0.1.0.1 → 0.1.0.2

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 view
@@ -1,5 +1,9 @@ # debug-dump +## 0.1.0.2++  * Revert unnecessary strictness+ ## 0.1.0.1    * Bug fix for strictness
debug-dump.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.18 name: debug-dump-version: 0.1.0.1+version: 0.1.0.2 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 $-    bytes `seq` BSL.writeFile fp bytes $> x+    BSL.writeFile fp bytes $> x  traceFileText :: FilePath -> T.Text -> a -> a traceFileText fp txt x = unsafePerformIO $-    txt `seq` TIO.writeFile fp txt $> x+    TIO.writeFile fp txt $> x  traceFile :: FilePath -> String -> a -> a traceFile fp str x = unsafePerformIO $-    str `seq` writeFile fp str $> x+    writeFile fp str $> x