MCPcopy Create free account
hub / github.com/agenticsorg/lean-agentic / assign

Method assign

lean-agentic/src/unification.rs:28–30  ·  view source on GitHub ↗

Assign a metavariable to a term

(&mut self, mvar: MetaVarId, term: TermId)

Source from the content-addressed store, hash-verified

26
27 /// Assign a metavariable to a term
28 pub fn assign(&mut self, mvar: MetaVarId, term: TermId) {
29 self.assignments.insert(mvar, term);
30 }
31
32 /// Look up the assignment for a metavariable
33 pub fn lookup(&self, mvar: MetaVarId) -> Option<TermId> {

Callers 1

solve_unifyMethod · 0.45

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected