Ok, I'll play with that.

On 7/3/07, Jules Bean <[EMAIL PROTECTED]> 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

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to