[Haskell-cafe] Getting debugging/logging info?
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Mon Jul 2 19:04:51 EDT 2007
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 at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
More information about the Haskell-Cafe