Things we can substitute for a variable. Needs to be able to represent variables, e.g. for substituting under binders.
Methods
deBruijnVar :: Int -> aProduce a variable without name suggestion.
debruijnNamedVar :: String -> Int -> aProduce a variable with name suggestion.
deBruijnView :: a -> Maybe IntAre we dealing with a variable? If yes, what is its index?
Instances10DeBruijn, …
DeBruijn BraveTermDefined in Agda-2.7.0.1 · Agda.TypeChecking.Substitute · orphanDeBruijn DBPatVarDefined in Agda-2.7.0.1 · Agda.TypeChecking.Substitute.DeBruijnDeBruijn LevelDefined in Agda-2.7.0.1 · Agda.TypeChecking.Substitute.DeBruijnDeBruijn PlusLevelDefined in Agda-2.7.0.1 · Agda.TypeChecking.Substitute.DeBruijnDeBruijn TermDefined in Agda-2.7.0.1 · Agda.TypeChecking.Substitute.DeBruijnWe can substitute
Terms for variables.DeBruijn TTermDefined in Agda-2.7.0.1 · Agda.Compiler.Treeless.Subst · orphanDeBruijn SplitPatVarDefined in Agda-2.7.0.1 · Agda.TypeChecking.Coverage.MatchDeBruijn NLPatDefined in Agda-2.7.0.1 · Agda.TypeChecking.Substitute · orphanDeBruijn a => DeBruijn (Named_ a)Defined in Agda-2.7.0.1 · Agda.TypeChecking.Substitute.DeBruijnDeBruijn a => DeBruijn (Pattern' a)Defined in Agda-2.7.0.1 · Agda.TypeChecking.Substitute · orphan