trace-0.1.0.5: A monad transformer for tracing provenience of errors

Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.Monad.Trace.Class

Synopsis

Documentation

class MonadTrace t m | m -> t where Source

A class for monads that have a scoped tracing effect

Methods

traceScope :: t -> m α -> m α Source

Add a tag or breadcrumb to a scope

readTrace :: m (Seq t) Source

Realize your own trace

Instances

Monad m => MonadTrace t (TraceT t e m)