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

Function unify_lists

src/unify.rs:50–65  ·  view source on GitHub ↗

[unify_lists env lst1 lst2] unifies two lists of terms in current environment [env] and returns a new environment [env'] on success. It returns [NoUnify] on failure or if the lists are not equal length. */

(
    env: &Environment,
    heap: &mut Heap,
    lst1: &[Arc<Term>],
    lst2: &[Arc<Term>],
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

unify_termsFunction · 0.85
unify_atomsFunction · 0.85

Calls 1

unify_termsFunction · 0.85

Tested by

no test coverage detected