testArgFromFooInF

abstract fun testArgFromFooInF()

Tests the query

?- arg(2,foo(a, f(X,b), c), f(a, Y)).

succeeds on a solver initialized with default built-ins and with and empty theory, producing 2 solutions which binds variable X to a and variable Y to b.