packages feed

TraceUtils 0.1 → 0.1.0.1

raw patch · 2 files changed

+2/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

TraceUtils.cabal view
@@ -3,7 +3,7 @@ -- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr. -- The name of the package. Name:                TraceUtils-Version:             0.1+Version:             0.1.0.1 Synopsis:            Functions that should have been in Debug.Trace Description:         Functions that should have been in Debug.Trace Homepage:            https://github.com/Peaker/TraceUtils
src/Debug/TraceUtils.hs view
@@ -28,7 +28,7 @@               (a -> b) -- ^ Function to preprocess the value before showing it            -> String   -- ^ Prefix string to use before showing the result value            -> a -> a-traceIdVia via prefix x = trace (prefix ++ show (via x)) x+traceIdVia via prefix x = trace (prefix ++ ": " ++ show (via x)) x  -- | Generate an identity function that has the side-effect of showing -- the value that passes through it.