ref: dfda74cbaf3d2f129cc4d7da87435464f00a29fe
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 ())