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




currentModule :: MonadTCM tcm => tcm ModuleNameSource

Get the name of the current module, if any.

withCurrentModule :: MonadTCM tcm => ModuleName -> tcm a -> tcm aSource

Set the name of the current module.

getAnonymousVariables :: MonadTCM tcm => ModuleName -> tcm NatSource

Get the number of variables bound by anonymous modules.

withAnonymousModule :: MonadTCM tcm => ModuleName -> Nat -> tcm a -> tcm aSource

Add variables bound by an anonymous module.

withEnv :: MonadTCM tcm => TCEnv -> tcm a -> tcm aSource

Set the current environment to the given

getEnv :: MonadTCM tcm => tcm TCEnvSource

Get the current environmnet