[Haskell-cafe] Getting debugging/logging info?

Hugh Perkins hughperkins at gmail.com
Tue Jul 3 17:23:05 EDT 2007


Ok, I'll play with that.

On 7/3/07, Jules Bean <jules at jellybean.co.uk> wrote:
>
> 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.
>
> Jules
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070703/f1ccbdbd/attachment.htm


More information about the Haskell-Cafe mailing list