ouroboros-consensus-0.1.0.1: Consensus layer for the Ouroboros blockchain protocol
Safe Haskell None
Language Haskell2010

Ouroboros.Consensus.Util.Enclose

Description

Utility functions for enclosing a code segment with tracing events.

Synopsis

Documentation

encloseWith :: Applicative m => Tracer m Enclosing -> m a -> m a Source #

Enclose an action using the given Tracer .