ref: bad8b5593a8411b457ad8c061ce69654134f36a6
dir: /lib/Debug/Trace.hs/
module Debug.Trace(module Debug.Trace) where
import Prelude
import Primitives
trace :: forall a . String -> a -> a
trace msg a = primitive "IO.performIO" (
  do
    putStrLn msg
    return a
  )
traceM :: forall m . Monad m => String -> m ()
traceM s = trace s (return ())