disambiguate some names
(for the reader not the computer)
This commit is contained in:
parent
91de0a5b4d
commit
473df5fab4
|
@ -460,7 +460,7 @@ uses i (Let x rhs body _) = uses i rhs + uses (VS i) body
|
|||
uses i (Erased _) = 0
|
||||
|
||||
export
|
||||
inlineable : Term n -> Bool
|
||||
inlineable : U.Term n -> Bool
|
||||
inlineable (F {}) = True
|
||||
inlineable (B {}) = True
|
||||
inlineable (Tag {}) = True
|
||||
|
@ -469,7 +469,7 @@ inlineable (Erased {}) = True
|
|||
inlineable _ = False
|
||||
|
||||
export
|
||||
trimLets : Term n -> Term n
|
||||
trimLets : U.Term n -> U.Term n
|
||||
trimLets (F x loc) = F x loc
|
||||
trimLets (B i loc) = B i loc
|
||||
trimLets (Lam x body loc) = Lam x (trimLets body) loc
|
||||
|
|
Loading…
Reference in New Issue