extensible-effects-1.9.0.1: An Alternative to Monad Transformers

Safe HaskellTrustworthy
LanguageHaskell2010

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.