HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Moduleextensible-effects-5.0.0.1Haskell2010

Control.Eff.Trace

A Trace effect for debugging

  • 1 type
  • 3 values
datadata Trace v where
#

Trace effect for debugging

Constructors

Instances1Handle
  • Handle Trace r a (IO k)Defined in extensible-effects-5.0.0.1 · Control.Eff.Trace

    Given a callback and request, respond to it

valuewithTrace :: a -> IO a
#

Embed a pure value in Trace context

valuerunTrace :: Eff '[Trace] w -> IO w
#

Run a computation producing Traces. The handler for IO request: a terminal handler