Agda-2.5.2: A dependently typed functional programming language and proof assistant

Safe Haskell | None
Language | Haskell2010

Agda.TypeChecking.Monad.Trace

Contents

- Trace

Synopsis

- interestingCall :: Closure Call -> Bool
- traceCallM :: MonadTCM tcm => tcm Call -> tcm a -> tcm a
- traceCall :: MonadTCM tcm => Call -> tcm a -> tcm a
- traceCallCPS :: MonadTCM tcm => Call -> (r -> tcm a) -> ((r -> tcm a) -> tcm b) -> tcm b
- traceCallCPS_ :: MonadTCM tcm => Call -> tcm a -> (tcm a -> tcm b) -> tcm b
- getCurrentRange :: TCM Range
- setCurrentRange :: HasRange x => x -> TCM a -> TCM a

# Trace

interestingCall :: Closure Call -> Bool #

traceCallM :: MonadTCM tcm => tcm Call -> tcm a -> tcm a #

traceCall :: MonadTCM tcm => Call -> tcm a -> tcm a #

Record a function call in the trace.

traceCallCPS :: MonadTCM tcm => Call -> (r -> tcm a) -> ((r -> tcm a) -> tcm b) -> tcm b #

traceCallCPS_ :: MonadTCM tcm => Call -> tcm a -> (tcm a -> tcm b) -> tcm b #

getCurrentRange :: TCM Range #

setCurrentRange :: HasRange x => x -> TCM a -> TCM a #

Sets the current range (for error messages etc.) to the range of the given object, if it has a range (i.e., its range is not `noRange`).