[Haskell-cafe] Getting debugging/logging info?

Jules Bean jules at jellybean.co.uk
Tue Jul 3 05:37:40 EDT 2007

Hugh Perkins wrote:
> In imperative languages we can do this type of thing:
> SystemLogging.LogInfo("About to do something...");
> DoSomething();
> SystemLogging.LogInfo("Did Something");
> SystemLogging.LogInfo("x is " + x );

This is what the Writer Monad is for, probably.


More information about the Haskell-Cafe mailing list