traceM and traceShowM
Philip K.F. Hölzenspies
p.k.f.holzenspies at utwente.nl
Fri Oct 16 09:27:39 EDT 2009
On Fri, 2009-10-16 at 15:22 +0200, Martijn van Steenbergen wrote:
> 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
I gladly second this proposal!
Philip
More information about the Libraries
mailing list