Ticket #1912 (closed feature request: wontfix)

Opened 6 years ago

Last modified 5 years ago

Debug.Trace should add another version of putTraceMsg same as traceShow

Reported by: guest Owned by:
Priority: normal Milestone:
Component: libraries/base Version: 6.8.1
Keywords: Cc: shelarcy@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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.

Change History

Changed 6 years ago by igloo

  • status changed from new to closed
  • difficulty set to Unknown
  • resolution set to wontfix

To propose this, please follow  http://www.haskell.org/haskellwiki/Library_submissions

Thanks

Changed 5 years ago by simonmar

  • architecture changed from Multiple to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Multiple to Unknown/Multiple
Note: See TracTickets for help on using tickets.