
3 Nov
2009
3 Nov
'09
2:42 a.m.
I have submitted a trac ticket: http://hackage.haskell.org/trac/ghc/ticket/3634 Thank you all for your input! Martijn. Martijn van Steenbergen wrote:
Hello,
I propose the addition of the following two functions to module Debug.Trace:
traceM :: Monad m => String -> m () traceM msg = trace msg (return ())
traceShowM :: (Show a, Monad m) => a -> m () traceShowM = traceM . show
These functions allow tracing in any do-block. I often define them myself; I think they are useful in general.
Deadline: 23 October 2009.
Martijn. _______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries