Get the name of the current module, if any.
ModuleAgda-2.7.0.1Haskell2010
Agda.TypeChecking.Monad.Env
- 26 values
- PackageAgda-2.7.0.1
- Exports26
- LanguageHaskell2010
- LicenceMIT
- SourceEnv.hs
Set the name of the current module.
Get the path of the currently checked file
Get the number of variables bound by anonymous modules.
Add variables bound by an anonymous module.
Set the current environment to the given
Get the current environment
Set highlighting level
Restore setting for ExpandLast to default.
If the reduced did a proper match (constructor or literal pattern), then record this as simplification step.
Controlling reduction.
8 declarationsLens for AllowedReductions.
Reduce Def f vs only if f is a projection.
Allow all reductions except for non-terminating functions (default).
Allow all reductions including non-terminating functions.
Allow all reductions when reducing types. Otherwise only allow inlined functions to be unfolded.
Update allowed reductions when working on types
Concerning envInsideDotPattern
4 declarationsDon't use call-by-need evaluation for the given computation.
Don't fold let bindings when printing. This is a bit crude since it disables any folding of let
bindings at all. In many cases it's better to use removeLetBinding before printing to drop
the let bindings that should not be folded.