extensible-effects-1.5.0: An Alternative to Monad Transformers

Safe HaskellTrustworthy

Control.Eff.Trace

Description

A Trace effect for debugging

Synopsis

Documentation

data Trace v Source

Trace effect for debugging

trace :: Member Trace r => String -> Eff r ()Source

Print a string as a trace.

runTrace :: Eff (Trace :> ()) w -> IO wSource

Run a computation producing Traces.