You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
?- foreach(member(X,[1,2,3]), write(X)), nl.
{ERROR: No handle found for thrown exception error(existence_error(procedure,'user:foreach'/2),'user:foreach'/2)}
I tried first in Ciao Prolog playground:
On the other hand SWI-Prolog gives me:
Its not the optimal test case for
foreach/2
since themain application of
foreach/2
is rather a goal in thesecond argument that produces constraints.
I also checked the Ciao Prolog documentation search
function, but it didn't show me literally the name foreach
of some predicate.
Maybe its burried somewhere by another name?
The text was updated successfully, but these errors were encountered: