chore: add auxiliary function
This commit is contained in:
parent
fd7dca9bc1
commit
d6a3e22992
1 changed files with 3 additions and 0 deletions
|
|
@ -1090,6 +1090,9 @@ let (e, s) := LevelMVarToParam.main e { paramNamePrefix := paramNamePrefix, alre
|
|||
nextParamIdx := s.nextParamIdx,
|
||||
expr := e }
|
||||
|
||||
def getExprAssignmentDomain (mctx : MetavarContext) : Array MVarId :=
|
||||
mctx.eAssignment.foldl (fun a mvarId _ => Array.push a mvarId) #[]
|
||||
|
||||
end MetavarContext
|
||||
|
||||
class MonadMCtx (m : Type → Type) :=
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue