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

Method new

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

Create a new empty substitution

()

Source from the content-addressed store, hash-verified

19impl Substitution {
20 /// Create a new empty substitution
21 pub fn new() -> Self {
22 Self {
23 assignments: HashMap::new(),
24 }
25 }
26
27 /// Assign a metavariable to a term
28 pub fn assign(&mut self, mvar: MetaVarId, term: TermId) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected