shithub: MicroHs

ref: b36e72a80a8d1a90f84da10a09055d9a450d3410
dir: /lib/Debug/Trace.hs/

View raw version
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
  )