extensible-effects-1.7.1.1: An Alternative to Monad Transformers

Safe HaskellTrustworthy
LanguageHaskell98

Control.Eff.Trace

Description

A Trace effect for debugging

Synopsis

Documentation

data Trace v Source

Trace effect for debugging

Constructors

Trace String (() -> v) 

Instances

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

Print a string as a trace.

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

Run a computation producing Traces.