Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- alterSpansUpwards :: MonadIO m => Span -> st -> (st -> ImmutableSpan -> (IterationInstruction st, ImmutableSpan)) -> m st
- data IterationInstruction a
Documentation
alterSpansUpwards :: MonadIO m => Span -> st -> (st -> ImmutableSpan -> (IterationInstruction st, ImmutableSpan)) -> m st Source #
Alter traces upwards from the provides span to the highest available mutable span. Only mutable spans may be altered.
The step value indicates whether the desired topmost span has been reached or not. This function will continue to iterate upwards until either a span that cannot be mutated has been reached, or there are no more parent spans remaining.
data IterationInstruction a Source #