
2 Jul
2007
2 Jul
'07
7:04 p.m.
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] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH