traceM and traceShowM

Evan Laforge qdunkan at gmail.com
Fri Oct 16 14:10:03 EDT 2009


Nice, the traceM here would help reduce the "hunt for a place to tack
the trace" game.

As an aside, I have the following defined, which I use much more
frequently than plain trace:

tracem msg x = Trace.trace ("**" ++ msg ++ ": " ++ show x) x

The 'm' has nothing to do with monads, it's just a short name.


More information about the Libraries mailing list