On Jul 2, 2007, at 18:40 , Neil Mitchell wrote:

SystemLogging.LogInfo("Did Something");
SystemLogging.LogInfo("x is " + x );

How can we do something similar in Haskell?

See trace: http://www.haskell.org/hoogle/?q=trace

In addition, you could use the Writer monad to collect log information as you perform a computation.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH


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

Reply via email to