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

Safe HaskellNone
LanguageHaskell98

Agda.TypeChecking.Monad.Trace

Contents

Synopsis

Trace

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

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

Record a function call in the trace.

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

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

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

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).