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

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 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