Debug.Trace should add another version of putTraceMsg same as traceShow
trace function can work on Show using traceShow (#474 (closed)). So I think Debug.Trace should also add another version of putTraceMsg same as traceShow.
printTraceMsg :: Show a => a -> b -> IO ()
printTraceMsg = putTraceMsg . show
I want to use putTraceMsg function and this variation. Because I want to trace problems in monad and monad transformer codem, on Windows GUI Application.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.8.1 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | libraries/base |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | shelarcy@gmail.com |
| Operating system | Multiple |
| Architecture | Multiple |