remove Loc suffix from fromVar and Context.get

This commit is contained in:
rhiannon morris 2024-05-05 19:44:27 +02:00
parent d9a383d8bb
commit e880b7165a
5 changed files with 16 additions and 16 deletions

View file

@ -255,7 +255,7 @@ USubst : Nat -> Nat -> Type
USubst = Subst Term
public export FromVar Term where fromVarLoc = B
public export FromVar Term where fromVar = B
public export
@ -264,7 +264,7 @@ CanSubstSelf Term where
F x loc =>
F x loc
B i loc =>
getLoc th i loc
get th i loc
Lam x body loc =>
Lam x (assert_total $ body // push x.loc th) loc
App fun arg loc =>