remove Loc suffix from fromVar and Context.get
This commit is contained in:
parent
d9a383d8bb
commit
e880b7165a
5 changed files with 16 additions and 16 deletions
|
@ -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 =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue