ref: d6105e2a3cd97a5d41d7c7a99247527448e3d72c
dir: /lib/Debug/Trace.hs/
module Debug.Trace(module Debug.Trace) where
import Prelude(); import MiniPrelude
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 ())