OPE & scope stuff

This commit is contained in:
rhiannon morris 2022-10-10 17:30:46 +02:00
parent 23c008b57a
commit 53bbcbf8c7
2 changed files with 4 additions and 0 deletions

View file

@ -116,6 +116,7 @@ pushSubstsE' : Elim d n -> Elim d n
pushSubstsE' e = (pushSubstsE e).fst
{- [todo] remove these probably?
mutual
-- tightening a term/elim also causes substitutions to be pushed through.
-- this is because otherwise a variable in an unused part of the subst
@ -156,6 +157,7 @@ mutual
Tighten (ScopeTerm d) where
tighten p (TUsed body) = TUsed <$> tighten (Keep p) body
tighten p (TUnused body) = TUnused <$> tighten p body
-}
public export %inline