#1912: Debug.Trace should add another version of putTraceMsg same as traceShow
-----------------------------+----------------------------------------------
 Reporter:  guest            |          Owner:          
     Type:  feature request  |         Status:  new     
 Priority:  normal           |      Milestone:          
Component:  libraries/base   |        Version:  6.8.1   
 Severity:  normal           |       Keywords:          
 Testcase:                   |   Architecture:  Multiple
       Os:  Multiple         |  
-----------------------------+----------------------------------------------
 trace function can work on Show using traceShow (#474).
 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1912>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to