testArgAFromFoo
Tests the query
?- arg(a,foo(a,b),X).Content copied to clipboard
fails on a solver initialized with default built-ins and with and empty theory, producing exception type_error(integer,a).
Tests the query
?- arg(a,foo(a,b),X).fails on a solver initialized with default built-ins and with and empty theory, producing exception type_error(integer,a).