
4 Nov
2009
4 Nov
'09
3:40 p.m.
On 16/10/2009 14:22, 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
is traceShowM really necessary? It doesn't save many characters, and fails the "don't name a composition" test. Cheers, Simon