packages feed

DebugTraceHelpers 0.11 → 0.12

raw patch · 2 files changed

+5/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Debug.Trace.Helpers: traceM :: Monad m => String -> m ()
- Debug.Trace.Helpers: dbgFile :: (MonadIO m) => FilePath -> String -> m ()
+ Debug.Trace.Helpers: dbgFile :: MonadIO m => FilePath -> String -> m ()
- Debug.Trace.Helpers: traceIt :: (Show a) => a -> a
+ Debug.Trace.Helpers: traceIt :: Show a => a -> a
- Debug.Trace.Helpers: traceMsg :: (Show a) => [Char] -> a -> a
+ Debug.Trace.Helpers: traceMsg :: Show a => [Char] -> a -> a
- Debug.Trace.Helpers: traceReadableMsg :: (Show a) => [Char] -> a -> a
+ Debug.Trace.Helpers: traceReadableMsg :: Show a => [Char] -> a -> a
- Debug.Trace.Helpers: traceTrue :: (Show a) => a -> Bool
+ Debug.Trace.Helpers: traceTrue :: Show a => a -> Bool

Files

Debug/Trace/Helpers.hs view
@@ -21,3 +21,7 @@  traceWith :: (a -> String) -> a -> a traceWith f v = trace (f v) v++{-# NOINLINE traceM #-}+traceM :: (Monad m) => String -> m ()+traceM s = trace s $ return ()
DebugTraceHelpers.cabal view
@@ -1,5 +1,5 @@ Name: DebugTraceHelpers-Version: 0.11+Version: 0.12 License: GPL License-file: gpl.txt Description: Convenience functions and instances for tracing, based on Debug.Trace.