
#9795: Debug.Trace.trace is too strict -------------------------------------+------------------------------------- Reporter: jcpetruzza | Owner: Type: bug | Status: merge Priority: normal | Milestone: 7.12.1 Component: libraries/base | Version: 7.8.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thomie): * differential: Phab:D654 => Comment:
I'll add this to the documentation for `trace`: {{{ The 'trace' function evaluates the message (i.e. the first argument) completely before printing it; so if the message is not fully defined, none of it will be printed. }}} OK?
Simon
Ok. Perhaps add that comment to the top of the module instead, since it applies to all the functions in the module equally. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9795#comment:12 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler