MCPcopy Create free account
hub / github.com/dagit/rust-prolog / unify_terms

Function unify_terms

src/unify.rs:13–44  ·  view source on GitHub ↗

[unify_terms env t1 t2] unifies terms [t1] and [t2] in the current environment [env]. On success it returns the environment extended with the result of unification. On failure it raises [NoUnify]. */

(
    env: &Environment,
    heap: &mut Heap,
    t1: &Term,
    t2: &Term,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

unify_listsFunction · 0.85
is_complementaryFunction · 0.85

Calls 4

subst_termFunction · 0.85
occursFunction · 0.85
unify_listsFunction · 0.85
insert_termMethod · 0.80

Tested by

no test coverage detected